[Bug c++/40655] The copy constructor is not needed but GCC (C++) don't let me to initialize my object instance!

jwakely dot gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 6 17:21:00 GMT 2009



------- Comment #3 from jwakely dot gcc at gmail dot com  2009-07-06 17:21 -------
(In reply to comment #0)
>     // ERROR: How could i use the auto keyword which exist in GCC 4.4
>     auto a1 = A (5);

You need to use -std=c++0x to enable C++0x features.


-- 


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



More information about the Gcc-bugs mailing list