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

Marshall Clow mclow.lists at gmail.com
Sun Sep 8 15:42:36 PDT 2013


On Sep 8, 2013, at 3:09 PM, Stephen Kelly <steveire at gmail.com> wrote:

> 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'?

As far as I know, it's just in the synopsis, not in the actual code.
However, I'll fix it.

Thanks for the catch.

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

I'll take a look at them, too.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the cfe-commits mailing list