blob: 208952cb44d1831cbce730da7910922b2559e71b [file] [log] [blame]
Eric Fiseliere047a722016-05-07 03:09:55 +00001// -*- C++ -*-
Louis Dionne9bd93882021-11-17 16:25:01 -05002//===----------------------------------------------------------------------===//
Eric Fiseliere047a722016-05-07 03:09:55 +00003//
Chandler Carruthd2012102019-01-19 10:56:40 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Eric Fiseliere047a722016-05-07 03:09:55 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_EXPERIMENTAL_SET
11#define _LIBCPP_EXPERIMENTAL_SET
12/*
13 experimental/set synopsis
14
15// C++1z
16namespace std {
17namespace experimental {
18inline namespace fundamentals_v1 {
19namespace pmr {
20
21 template <class Key, class T, class Compare = less<Key>>
22 using set = std::set<Key, T, Compare,
23 polymorphic_allocator<pair<const Key,T>>>;
24
25 template <class Key, class T, class Compare = less<Key>>
26 using multiset = std::multiset<Key, T, Compare,
27 polymorphic_allocator<pair<const Key,T>>>;
28
29} // namespace pmr
30} // namespace fundamentals_v1
31} // namespace experimental
32} // namespace std
33
34 */
35
36#include <experimental/__config>
Eric Fiseliere047a722016-05-07 03:09:55 +000037#include <experimental/memory_resource>
Arthur O'Dwyer65077c02022-01-07 09:45:05 -050038#include <set>
Eric Fiseliere047a722016-05-07 03:09:55 +000039
40#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Arthur O'Dwyer6eeaa002022-02-01 20:16:40 -050041# pragma GCC system_header
Eric Fiseliere047a722016-05-07 03:09:55 +000042#endif
43
44_LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
45
46template <class _Value, class _Compare = less<_Value>>
47using set = _VSTD::set<_Value, _Compare,
48 polymorphic_allocator<_Value>>;
49
50template <class _Value, class _Compare = less<_Value>>
51using multiset = _VSTD::multiset<_Value, _Compare,
52 polymorphic_allocator<_Value>>;
53
54_LIBCPP_END_NAMESPACE_LFTS_PMR
55
56#endif /* _LIBCPP_EXPERIMENTAL_SET */