[v3] hashtable aliases

Benjamin De Kosnik bkoz@redhat.com
Fri Apr 13 00:31:00 GMT 2012



This patch restructures the std::unordered_* containers, as per the
tempting comment in unordered_set:

  // NB: When we get typedef templates these class definitions
  // will be unnecessary.

This required some changes in _Hashtable, forced the consolidation of
insert() logic in a base class, and necessitated the restructuring of
type definitions in the _Hashtable. I think the current form allows
some nice advantages in terms of nested types and expressiveness. 

tested x86/linux
tested x86/linux -debug

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20120412-334.patch.bz2
Type: application/x-bzip
Size: 21686 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120413/ccf22bc9/attachment.bin>


More information about the Libstdc++ mailing list