diff options
Diffstat (limited to 'libstdc++-v3/include/experimental/map')
-rw-r--r-- | libstdc++-v3/include/experimental/map | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/libstdc++-v3/include/experimental/map b/libstdc++-v3/include/experimental/map index 2bbc1bd..8505596 100644 --- a/libstdc++-v3/include/experimental/map +++ b/libstdc++-v3/include/experimental/map @@ -41,12 +41,12 @@ namespace std _GLIBCXX_VISIBILITY(default) { +_GLIBCXX_BEGIN_NAMESPACE_VERSION + namespace experimental { inline namespace fundamentals_v2 { -_GLIBCXX_BEGIN_NAMESPACE_VERSION - template<typename _Key, typename _Tp, typename _Compare, typename _Alloc, typename _Predicate> inline void @@ -59,26 +59,21 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION erase_if(multimap<_Key, _Tp, _Compare, _Alloc>& __cont, _Predicate __pred) { __detail::__erase_nodes_if(__cont, __pred); } -_GLIBCXX_END_NAMESPACE_VERSION - -namespace pmr { -_GLIBCXX_BEGIN_NAMESPACE_VERSION - - template<typename _Key, typename _Tp, typename _Compare = less<_Key>> - using map + namespace pmr { + template<typename _Key, typename _Tp, typename _Compare = less<_Key>> + using map = std::map<_Key, _Tp, _Compare, polymorphic_allocator<pair<const _Key, _Tp>>>; - template<typename _Key, typename _Tp, typename _Compare = less<_Key>> - using multimap + template<typename _Key, typename _Tp, typename _Compare = less<_Key>> + using multimap = std::multimap<_Key, _Tp, _Compare, polymorphic_allocator<pair<const _Key, _Tp>>>; - -_GLIBCXX_END_NAMESPACE_VERSION -} // namespace pmr - + } // namespace pmr } // namespace fundamentals_v2 } // namespace experimental + +_GLIBCXX_END_NAMESPACE_VERSION } // namespace std #endif // C++14 |