diff options
Diffstat (limited to 'libcxx/include/experimental/unordered_map')
| -rw-r--r-- | libcxx/include/experimental/unordered_map | 20 | 
1 files changed, 12 insertions, 8 deletions
| diff --git a/libcxx/include/experimental/unordered_map b/libcxx/include/experimental/unordered_map index 636d31bdc557..d2801822a56f 100644 --- a/libcxx/include/experimental/unordered_map +++ b/libcxx/include/experimental/unordered_map @@ -45,20 +45,14 @@ namespace pmr {  #include <experimental/memory_resource>  #include <unordered_map> -#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES -#  include <algorithm> -#  include <array> -#  include <bit> -#  include <functional> -#  include <vector> -#endif -  #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)  #  pragma GCC system_header  #endif  _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR +#ifndef _LIBCPP_CXX03_LANG +  template <class _Key, class _Value,            class _Hash = hash<_Key>, class _Pred = equal_to<_Key>>  using unordered_map = _VSTD::unordered_map<_Key, _Value, _Hash, _Pred, @@ -69,6 +63,16 @@ template <class _Key, class _Value,  using unordered_multimap = _VSTD::unordered_multimap<_Key, _Value, _Hash, _Pred,                          polymorphic_allocator<pair<const _Key, _Value>>>; +#endif // _LIBCPP_CXX03_LANG +  _LIBCPP_END_NAMESPACE_LFTS_PMR +#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 +#  include <algorithm> +#  include <array> +#  include <bit> +#  include <functional> +#  include <vector> +#endif +  #endif /* _LIBCPP_EXPERIMENTAL_UNORDERED_MAP */ | 
