diff --git a/stl/inc/functional b/stl/inc/functional index 2fe8045c3d2..3a5cc809e23 100644 --- a/stl/inc/functional +++ b/stl/inc/functional @@ -14,6 +14,9 @@ #include #include #if _HAS_CXX17 +#ifdef _LEGACY_CODE_ASSUMES_FUNCTIONAL_INCLUDES_MEMORY +#include +#endif // _LEGACY_CODE_ASSUMES_FUNCTIONAL_INCLUDES_MEMORY #include #endif // _HAS_CXX17 #ifdef __cpp_lib_concepts diff --git a/stl/inc/xhash b/stl/inc/xhash index 215bfc0398d..e19dcfed5aa 100644 --- a/stl/inc/xhash +++ b/stl/inc/xhash @@ -90,6 +90,11 @@ namespace stdext { _Pr comp{}; // the comparator object }; } // namespace stdext + +_STD_BEGIN +using stdext::hash_compare; // Non-Standard, for legacy source compatibility +_STD_END + #endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS _STD_BEGIN