diff options
Diffstat (limited to 'libstdc++-v3/include/experimental/unordered_set')
-rw-r--r-- | libstdc++-v3/include/experimental/unordered_set | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/libstdc++-v3/include/experimental/unordered_set b/libstdc++-v3/include/experimental/unordered_set index 3c8fe25..816327f 100644 --- a/libstdc++-v3/include/experimental/unordered_set +++ b/libstdc++-v3/include/experimental/unordered_set @@ -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 _Hash, typename _CPred, typename _Alloc, typename _Predicate> inline void @@ -61,27 +61,23 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _Predicate __pred) { __detail::__erase_nodes_if(__cont, __pred); } -_GLIBCXX_END_NAMESPACE_VERSION - -namespace pmr { -_GLIBCXX_BEGIN_NAMESPACE_VERSION - - template<typename _Key, typename _Hash = hash<_Key>, - typename _Pred = equal_to<_Key>> - using unordered_set + namespace pmr { + template<typename _Key, typename _Hash = hash<_Key>, + typename _Pred = equal_to<_Key>> + using unordered_set = std::unordered_set<_Key, _Hash, _Pred, polymorphic_allocator<_Key>>; - template<typename _Key, typename _Hash = hash<_Key>, - typename _Pred = equal_to<_Key>> - using unordered_multiset + template<typename _Key, typename _Hash = hash<_Key>, + typename _Pred = equal_to<_Key>> + using unordered_multiset = std::unordered_multiset<_Key, _Hash, _Pred, polymorphic_allocator<_Key>>; - -_GLIBCXX_END_NAMESPACE_VERSION -} // namespace pmr + } // namespace pmr } // namespace fundamentals_v2 } // namespace experimental + +_GLIBCXX_END_NAMESPACE_VERSION } // namespace std #endif // C++14 |