const references in C++ and D

BCS none at anon.com
Sun May 30 19:22:17 PDT 2010


Hello bearophile,

> BCS:
> 
>> Thats' what I'd do.
>> 
> But wasn't "auto ref" invented for such situations?
> 

That would work too, assuming that the internals of the function allow it.

> Bye and thank you,
> bearophile
-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list