ref const(T) the same as C++'s const T&?
Lutger Blijdestijn
lutger.blijdestijn at gmail.com
Tue Feb 15 15:12:11 PST 2011
Peter Alexander wrote:
> On 15/02/11 10:47 PM, Lutger Blijdestijn wrote:
>> For reference, here is a link to the thread discussing it:
>> http://www.mail- archive.com/digitalmars-d at puremagic.com/msg44075.html
>>
>> If I understood that discussion correctly, 'auto ref' is supposed to
>> solve the rvalue references problem but are not completely implemented
>> yet.
>
> Thanks Lutger.
>
> From the thread, it seems like the correct annotation would be 'auto
> ref const T', would it not?
Yes, I think so.
More information about the Digitalmars-d
mailing list