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]

Re: g++ bug? Seeking C++ language lawyer help (dcl.init.ref)


Turly O'Connor wrote:

> don't think the temporary is required, because the 'operator &'  means
> that dcl.init.ref/6 applies and so direct binding should take place.
> But IANAL, so I would appreciate further input.  Is gcc3 justified in
> creating a temporary, or is this a bug?
You analysis appears sound.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


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