When I use the header file from the book of Stroustrup "std_lib-facilities.h" the error occurs next character:
error C2338: is deprecated and will be REMOVED. Please use . You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
What's the problem?
Humberto_Lynch68 answered on June 27th 19 at 15:24
The problem is connected to the file hash_list or hash_map (they have never been standard C++, but many were implemented with two different standards — one from SGI, the second is renamed included in the STL).
Rename unordered_list, unordered_map. And hope that the third and forth parameters of the templates were not used.
There are versions of this file corrected under C++11.
And you can silence the error by adding the "#defines" project _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS. And be prepared that one day you update the compiler and katites this file.
Tyreek_Kuhn94 answered on June 27th 19 at 15:26
My psychic abilities tell me that the error is talking about "hash_map" (Seriously, it's hard to read your question after posting and fix the schools?).
This is because the MS removes this non-standard and outdated header file of the supply in the future. You can normally rewrite the file, wait for updates from Stroustrup, download the corrected file from the interent or do what the error text and add before turning std_lib_facilities.h define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS