This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.0.2 + hash_map<string,int> compilation problems



> That's definitely one way to do it; if you look at ext/stl_hash_fun.h you'll
> see what's happening here.  You could return __stl_hash_string directly.
> If you're going to use a nonportable extension, why stop with just one?  :-)

std::collate::hash

also works


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]