File indexing completed on 2025-01-30 09:34:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_CONTAINER_PMR_FLAT_SET_HPP
0012 #define BOOST_CONTAINER_PMR_FLAT_SET_HPP
0013
0014 #if defined (_MSC_VER)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/container/flat_set.hpp>
0019 #include <boost/container/pmr/polymorphic_allocator.hpp>
0020
0021 namespace boost {
0022 namespace container {
0023 namespace pmr {
0024
0025 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
0026
0027 template <class Key
0028 ,class Compare = std::less<Key> >
0029 using flat_set = boost::container::flat_set<Key, Compare, polymorphic_allocator<Key> >;
0030
0031 template <class Key
0032 ,class Compare = std::less<Key> >
0033 using flat_multiset = boost::container::flat_multiset<Key, Compare, polymorphic_allocator<Key> >;
0034
0035 #endif
0036
0037
0038
0039 template <class Key
0040 ,class Compare = std::less<Key> >
0041 struct flat_set_of
0042 {
0043 typedef boost::container::flat_set<Key, Compare, polymorphic_allocator<Key> > type;
0044 };
0045
0046
0047
0048 template <class Key
0049 ,class Compare = std::less<Key> >
0050 struct flat_multiset_of
0051 {
0052 typedef boost::container::flat_multiset<Key, Compare, polymorphic_allocator<Key> > type;
0053 };
0054
0055 }
0056 }
0057 }
0058
0059 #endif