This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/17226] std::vector length constructor uses element copy constructor


------- Additional Comments From pcarlini at suse dot de  2004-08-29 12:34 -------
Hi.
I suppose that by "length constructor" you mean the one having this signature
(23.2.4):

explicit vector(size_type n, const T& value = T(),
    const Allocator& = Allocator());

which, we are implementing correctly via two overloads (one for the
default T()), as permitted (in general) by the standard.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Summary|std::vector length          |std::vector length
                   |constructor uses element    |constructor uses element
                   |copy constructor            |copy constructor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17226


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]