This is the mail archive of the gcc-prs@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]

Re: c++/3390: Can't pass a reference to temporary objects


Synopsis: Can't pass a reference to temporary objects

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Tue Jun 26 13:32:58 2001
State-Changed-Why:
    The C++ Standard allows temporaries to be bound to const references, but not to non-const references.  GCC just follows the Standard.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3390&database=gcc


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