--- Additional Comments From megath at iof dot ru 2004-11-12 10:43 ---
Created an attachment (id=7527)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7527action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18448
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-12
12:39 ---
Invalid, did you read the release notes?
--
What|Removed |Added
--- Additional Comments From megath at iof dot ru 2004-11-12 13:10 ---
about
iCopy constructor access check while initializing a reference./i
? yes. sorry.
*p = A() constructs copy of object now? what for ?
doesnt it degrades perfomance?
--
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-12
13:41 ---
(In reply to comment #3)
about
iCopy constructor access check while initializing a reference./i
? yes. sorry.
*p = A() constructs copy of object now? what for ?
No we don't contruct a copy of the
--- Additional Comments From megath at iof dot ru 2004-11-12 13:48 ---
I just says it has to be accessable
so, if gcc dont use copy ctor - what for it complains ?!
and why is it error btw ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18448
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-12
13:54 ---
(In reply to comment #5)
I just says it has to be accessable
so, if gcc dont use copy ctor - what for it complains ?!
Because this is the requirement of the C++ standard.
and why is it error btw ?
--- Additional Comments From megath at iof dot ru 2004-11-12 13:57 ---
thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18448