123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef BOOST_CONTAINER_PMR_FLAT_MAP_HPP
- #define BOOST_CONTAINER_PMR_FLAT_MAP_HPP
- #if defined (_MSC_VER)
- # pragma once
- #endif
- #include <boost/container/flat_map.hpp>
- #include <boost/container/pmr/polymorphic_allocator.hpp>
- namespace boost {
- namespace container {
- namespace pmr {
- #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
- template <class Key
- ,class T
- ,class Compare = std::less<Key > >
- using flat_map = boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > >;
- template <class Key
- ,class T
- ,class Compare = std::less<Key> >
- using flat_multimap = boost::container::flat_multimap<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > >;
- #endif
- template <class Key
- ,class T
- ,class Compare = std::less<Key> >
- struct flat_map_of
- {
- typedef boost::container::flat_map<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > > type;
- };
- template <class Key
- ,class T
- ,class Compare = std::less<Key> >
- struct flat_multimap_of
- {
- typedef boost::container::flat_multimap<Key, T, Compare, polymorphic_allocator<std::pair<Key, T> > > type;
- };
- }
- }
- }
- #endif
|