LWG Issue 2210 (Part #3): map and multimap

Stephen Kelly steveire at gmail.com
Sun Sep 8 15:09:34 PDT 2013


Marshall Clow wrote:

> Keeping on keeping on.

--- include/map	(revision 190278)
+++ include/map	(working copy)
@@ -77,7 +77,12 @@
     map(map&& m, const allocator_type& a);
     map(initializer_list<value_type> il, const key_compare& comp = 
key_compare());
     map(initializer_list<value_type> il, const key_compare& comp, const 
allocator_type& a);
-    ~map();
+    template <class InputIterator>
+        map(InputIterator first, InputIterator last, const Allocator& a)


Any reason to use 'Allocator', instead of 'allocator_type'?

The patches to deque, forward_list and list also introduce mixtures.

Thanks,

Steve.





More information about the cfe-commits mailing list