const references in C++ and D

Trass3r un at known.com
Mon May 31 12:37:45 PDT 2010


> I think, it's a bug. It was denied to have write access to the temporary  
> variable, but you request only read access which is safe to be provided.

True, there should be an additional check if it's a const ref.


More information about the Digitalmars-d-learn mailing list