This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37720] Copy constructors do not work with std::vector as they should
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2008 18:33:58 -0000
- Subject: [Bug c++/37720] Copy constructors do not work with std::vector as they should
- References: <bug-37720-15818@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-02 18:33 -------
This is the correct behavior really.
The constructor for std::vector which has a size agrument has a default
argument of the type.
I get the same behavior with/without the copy constructor too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37720