This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: gcc-3.0.2 + hash_map<string,int> compilation problems
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: Stefan Olsson <stefan at noname4us dot com>, Matthew Sundling <sundlm at cs dot wisc dot edu>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 9 Apr 2002 00:19:48 -0700 (PDT)
- Subject: 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