[v3] deprecated ext/hash_map, ext/hash_set
Benjamin Kosnik
bkoz@redhat.com
Wed Oct 17 20:35:00 GMT 2007
This moves <ext/hash_map> and <ext/hash_set> into backwards. Since
the introduction of TR1's unordered containers, these old hash
containers have been de facto deprecated: this just makes it official
to those not paying attention.
I'm hoping to align libstdc++ sources to reality, as the maintainers
see it. In addition, I would like to time the addition of new
interfaces (ie, C++0x) with the removal of deprecated interfaces.
To deprecate the SGI hash containers, one has to jump through a couple
rounds of hoops. Here's an outline:
1) remove use of ext/hash_map, ext/hash_set in libstdc++ sources. Finished with:
http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00687.html
2) come up with equivalent debug mode functionality for unordered_map
as compared to hash_map. Done with:
http://gcc.gnu.org/ml/libstdc++/2007-10/msg00089.html
3) Remove pre-ISO C++ 1998 files from include/backward. We've been
around and around on this, and I am not going to summarize past
discussions here. Instead, I implement a modified proposal, whereby
files not in Annex D (or otherwise in) ISO C++ 1998 are removed.
Summarily.
4) Move ext/hash_map and friends into backward/hash_map, etc. Adjust docs, etc.
Whew.
For my next couple tricks, I will be attempting to deprecate (in C++0x
mode) auto_ptr, binder1st, and vector<bool>.
tested x86/linux
-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20071017.bz2
Type: application/x-bzip2
Size: 23748 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20071017/0c0fae3c/attachment.bz2>
More information about the Libstdc++
mailing list