[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread pinskia 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 gc

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-10-02 18:33 --- My mistake. :-) -- ivranos at freemail dot gr changed: What|Removed |Added Status|UNCONFIR

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-10-02 18:27 --- Created an attachment (id=16453) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16453&action=view) The produced .ii file The produced .ii file from code compiled with the options: g++ -ansi -pedantic-errors -Wall