Home | History | Annotate | Line # | Download | only in experimental
      1  1.1  joerg // -*- C++ -*-
      2  1.1  joerg //===--------------------------- list ------------------------------------===//
      3  1.1  joerg //
      4  1.1  joerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
      5  1.1  joerg // See https://llvm.org/LICENSE.txt for license information.
      6  1.1  joerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
      7  1.1  joerg //
      8  1.1  joerg //===----------------------------------------------------------------------===//
      9  1.1  joerg 
     10  1.1  joerg #ifndef _LIBCPP_EXPERIMENTAL_SET
     11  1.1  joerg #define _LIBCPP_EXPERIMENTAL_SET
     12  1.1  joerg /*
     13  1.1  joerg     experimental/set synopsis
     14  1.1  joerg 
     15  1.1  joerg // C++1z
     16  1.1  joerg namespace std {
     17  1.1  joerg namespace experimental {
     18  1.1  joerg inline namespace fundamentals_v1 {
     19  1.1  joerg namespace pmr {
     20  1.1  joerg 
     21  1.1  joerg   template <class Key, class T, class Compare = less<Key>>
     22  1.1  joerg   using set = std::set<Key, T, Compare,
     23  1.1  joerg                        polymorphic_allocator<pair<const Key,T>>>;
     24  1.1  joerg 
     25  1.1  joerg   template <class Key, class T, class Compare = less<Key>>
     26  1.1  joerg   using multiset = std::multiset<Key, T, Compare,
     27  1.1  joerg                                  polymorphic_allocator<pair<const Key,T>>>;
     28  1.1  joerg 
     29  1.1  joerg } // namespace pmr
     30  1.1  joerg } // namespace fundamentals_v1
     31  1.1  joerg } // namespace experimental
     32  1.1  joerg } // namespace std
     33  1.1  joerg 
     34  1.1  joerg  */
     35  1.1  joerg 
     36  1.1  joerg #include <experimental/__config>
     37  1.1  joerg #include <set>
     38  1.1  joerg #include <experimental/memory_resource>
     39  1.1  joerg 
     40  1.1  joerg #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
     41  1.1  joerg #pragma GCC system_header
     42  1.1  joerg #endif
     43  1.1  joerg 
     44  1.1  joerg _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR
     45  1.1  joerg 
     46  1.1  joerg template <class _Value, class  _Compare = less<_Value>>
     47  1.1  joerg using set = _VSTD::set<_Value, _Compare,
     48  1.1  joerg                         polymorphic_allocator<_Value>>;
     49  1.1  joerg 
     50  1.1  joerg template <class _Value, class  _Compare = less<_Value>>
     51  1.1  joerg using multiset = _VSTD::multiset<_Value, _Compare,
     52  1.1  joerg                         polymorphic_allocator<_Value>>;
     53  1.1  joerg 
     54  1.1  joerg _LIBCPP_END_NAMESPACE_LFTS_PMR
     55  1.1  joerg 
     56  1.1  joerg #endif /* _LIBCPP_EXPERIMENTAL_SET */
     57