S
Stefan Istrate
On http://www.sgi.com/tech/stl/hash_map.html it says that hash_map is
only an extension of the SGI implementation, not a part of the C++
standard. But in g++ 4.1.3 I can manage it to work using the header
<ext/hash_map> and the namespace __gnu_cxx. So, it is present in more
implementations, not just SGI. Is this a thing I can trust in? Will I
always find hash_map on all new g++ versions? Should I care about
portability or it is safe to use it?
only an extension of the SGI implementation, not a part of the C++
standard. But in g++ 4.1.3 I can manage it to work using the header
<ext/hash_map> and the namespace __gnu_cxx. So, it is present in more
implementations, not just SGI. Is this a thing I can trust in? Will I
always find hash_map on all new g++ versions? Should I care about
portability or it is safe to use it?