[Bug libstdc++/21193] provide better std::tr1::hash for std::string and std::wstring
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 09:50:00 GMT 2005
------- Additional Comments From pcarlini at suse dot de 2005-04-26 09:49 -------
Of course there are, but wouldn't be better just using an hashing function that
does *not* depend on such constants? Is really unavoidable? If we *really* think
so, then we have also to implement the necessary bits, maybe dispatching to a
suited template via sizeof(size_t) as integer template argument.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21193
More information about the Gcc-bugs
mailing list