|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
The stdext Namespace
Members of theand header files are not currently part of the ISO C++ standard. Therefore, these types and members have been moved from the std namespace to namespace stdext, to remain conformant with the C++ standard.
To have the compiler generate an error for the use of std for members of the <hash_map> and <hash_set> header files with /Ze, add the following directive before #include'ing any Standard C++ Library header files.
#define _DEFINE_DEPRECATED_HASH_CLASSES 0
When compiling with /Za, the compiler will generate an error.