Changeset View
Changeset View
Standalone View
Standalone View
include/unordered_set
Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | |||||
#include <__config> | #include <__config> | ||||
#include <__hash_table> | #include <__hash_table> | ||||
#include <__node_handle> | #include <__node_handle> | ||||
#include <functional> | #include <functional> | ||||
#include <version> | #include <version> | ||||
#include <__debug> | #include <__debug> | ||||
#if _LIBCPP_STD_VER > 14 | |||||
#include <__memory_resource_base> | |||||
#endif | |||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | ||||
#pragma GCC system_header | #pragma GCC system_header | ||||
#endif | #endif | ||||
_LIBCPP_BEGIN_NAMESPACE_STD | _LIBCPP_BEGIN_NAMESPACE_STD | ||||
template <class _Value, class _Hash, class _Pred, class _Alloc> | template <class _Value, class _Hash, class _Pred, class _Alloc> | ||||
class unordered_multiset; | class unordered_multiset; | ||||
▲ Show 20 Lines • Show All 1,293 Lines • ▼ Show 20 Lines | |||||
operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | operator!=(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x, | ||||
const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __y) | const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __y) | ||||
{ | { | ||||
return !(__x == __y); | return !(__x == __y); | ||||
} | } | ||||
_LIBCPP_END_NAMESPACE_STD | _LIBCPP_END_NAMESPACE_STD | ||||
#if _LIBCPP_STD_VER > 14 | |||||
_LIBCPP_BEGIN_NAMESPACE_STD | |||||
namespace pmr | |||||
{ | |||||
template <class _KeyT, class _HashT = _VSTD::hash<_KeyT>, class _PredT = _VSTD::equal_to<_KeyT>> | |||||
using unordered_set = _VSTD::unordered_set<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>; | |||||
template <class _KeyT, class _HashT = _VSTD::hash<_KeyT>, class _PredT = _VSTD::equal_to<_KeyT>> | |||||
using unordered_multiset = _VSTD::unordered_multiset<_KeyT, _HashT, _PredT, polymorphic_allocator<_KeyT>>; | |||||
} | |||||
_LIBCPP_END_NAMESPACE_STD | |||||
#endif | |||||
#endif // _LIBCPP_UNORDERED_SET | #endif // _LIBCPP_UNORDERED_SET |