libstdc++/8034: hash_map missing from namespace std
Gabriel Dos Reis
gdr@integrable-solutions.net
Fri Oct 11 13:16:00 GMT 2002
The following reply was made to PR libstdc++/8034; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: ethaky@eth.ericsson.se
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/8034: hash_map missing from namespace std
Date: 11 Oct 2002 22:10:29 +0200
ethaky@eth.ericsson.se writes:
| hash_map (from <ext/hash_map>) used to be in the std namespace, but
| it is in __gnu_cxx now. Only its insert_iterator is in std. Is this
| deliberate or is something missing?
hash_map<> being moved to __gnu_cxx:: is a deliberate decision.
The specialization of insert_iterator<> for __gnu_cxx::hash_map<>
being defined in std:: is deliberate because that is where the primary
template insert_iterator<> is defined.
-- Gaby
More information about the Gcc-prs
mailing list