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