unordered_map with valarray as key

Daniel Krügler daniel.kruegler@gmail.com
Mon Oct 28 12:52:00 GMT 2013


2013/10/28 Daniel Molina García <unomas@correo.ugr.es>:
> I'm not sure if my code is valid, but I think that unordered_map is not
> working ok with valarray as key.

Correct. The code is invalid, because the standard does not specify a
specialization of std::hash for std::valarray.

- Daniel



More information about the Libstdc++ mailing list