c++ - why unordered associative containers do not use allocator_traits<T> in C++0x -


why don't c++0x unordered associative containers use allocator_traits define member types pointer , const_pointer?

for example, sequential , ordered associative containers use following definition:

typedef typename allocator_traits<allocator>::pointer pointer; typedef typename allocator_traits<allocator>::const_pointer const_pointer; 

whereas unordered associative containers use this:

typedef typename allocator::pointer pointer; typedef typename allocator::const_pointer const_pointer; 

what missing?

i don't think you're missing anything. here's chance participate in standards process. please submit issue. directions on how here:

http://lwg.github.com/issues/lwg-active.html#submit_issue

i scanned, did not find existing issue on subject.


Comments