unordered_map with valarray as key

unomas unomas@correo.ugr.es
Tue Oct 29 19:07:00 GMT 2013


> The alternative is to define your own
> hash function (not a specialization of std::hash) and use that with
> the unordered container.

Maybe a solution like hash_combine provided by boost would be more easy

http://www.boost.org/doc/libs/1_54_0/doc/html/hash/reference.html#boost.hash_combine




More information about the Libstdc++ mailing list