Destructors, const structs, and opEquals

so so at so.do
Sat Dec 4 03:49:26 PST 2010


> On Friday 03 December 2010 22:42:06 Don wrote:
>> (1) Should temporaries be allowed to be passed as 'const ref'?
>
> I honestly do not understand why they can't be already. C++ definitely  
> allows
> this.

If you don't mean new C++ standards, this is not true. It is supported by  
non-standard extensions.

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list