Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions stl/inc/xhash
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <cmath>
#include <cstring>
#include <cwchar>
#include <list>
#include <tuple>
#include <vector>
#include <xbit_ops.h>

#ifdef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#include <cstring>
#include <cwchar>
#include <xstring>
#endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS

#if _HAS_CXX17
#include <xnode_handle.h>
Expand All @@ -28,6 +31,7 @@ _STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new

#ifdef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
namespace stdext {
using _STD basic_string;
using _STD less;
Expand Down Expand Up @@ -86,10 +90,9 @@ namespace stdext {
_Pr comp{}; // the comparator object
};
} // namespace stdext
#endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS

_STD_BEGIN
using stdext::hash_compare; // TRANSITION, protobuf used this until v3.7.0, released Feb 28, 2019

template <class _Kty, class _Hasher, class _Keyeq, class = void>
struct _Uhash_choose_transparency {
// transparency selector for non-transparent hashed containers
Expand Down