This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18194] g++ passes struct by reference instead of by value if non-default constructor exists
- From: "horst dot reiterer at fabasoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2004 10:50:59 -0000
- Subject: [Bug c++/18194] g++ passes struct by reference instead of by value if non-default constructor exists
- References: <20041028104200.18194.horst.reiterer@fabasoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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