const method and return type

Jakob Ovrum jakobovrum at gmail.com
Fri Dec 13 16:57:33 PST 2013


On Saturday, 14 December 2013 at 00:53:27 UTC, Andrea Fontana 
wrote:
> Consider this way to escape current constness:

This isn't "escaping" constness. Const only means mutation is 
prevented through that particular reference. It is distinct from 
immutability.


More information about the Digitalmars-d-learn mailing list