[RFC] libstdc++/9626 and std::vector constructors
Paolo Carlini
pcarlini@unitus.it
Sat Feb 8 13:01:00 GMT 2003
Paolo Carlini wrote:
> In my reading of the standard (23.2.4.1), seems "obvious" that
> they should be changed to:
>
> explicit
> vector(const allocator_type& __a = allocator_type());
>
> explicit
> vector(size_type __n, const value_type& __value,
> const allocator_type& __a = allocator_type());
Sorry for bothering, of course this should really be:
explicit
vector(const allocator_type& __a = allocator_type());
explicit
vector(size_type __n, const value_type& __value = value_type(),
^^^^^^^^^^^^^^^
const allocator_type& __a = allocator_type());
Will post a patch soon...
Paolo.
More information about the Libstdc++
mailing list