const references in C++ and D

bearophile bearophileHUGS at lycos.com
Mon May 31 05:08:38 PDT 2010


Kagamin:

> 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.<

Do you mean the program #3?

Thank you for your answers. For me sometimes it's not easy to tell apart my bugs from the compiler bugs.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list