This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18194] g++ passes struct by reference instead of by value if non-default constructor exists


------- Additional Comments From horst dot reiterer at fabasoft dot com  2004-10-28 10:50 -------
(In reply to comment #0)
>   /* CASE 1: non-default constructor
>   (...)
>   /* CASE 2: default constructor

'Constructor' was of course a typo, should have been 'destructor'

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]