Destructors, const structs, and opEquals

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Dec 4 06:00:58 PST 2010


On 12/4/10 4:35 AM, Jonathan M Davis wrote:
> 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.

C++'s second biggest mistake.

Andrei


More information about the Digitalmars-d mailing list