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

2009-07-06 Thread MSHojatoleslami at Gmail dot com
--- Comment #6 from MSHojatoleslami at Gmail dot com 2009-07-06 18:38 --- Thank you :) I don't know what should i say, but it seems that this was my ... mistake! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40655

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

2009-07-06 Thread MSHojatoleslami at Gmail dot com
--- Comment #2 from MSHojatoleslami at Gmail dot com 2009-07-06 17:19 --- Thanks for your answer. But there is no need to copy them always as you know: // -- begin #include class A { public : A (int i) { std::cout << "Copy constructor is not us

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

2009-07-05 Thread MSHojatoleslami at Gmail dot com
jatoleslami at Gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40655