No monitor for immutable class instances?

bearophile bearophileHUGS at lycos.com
Tue Mar 12 05:06:10 PDT 2013


Steven Schveighoffer:

> Both immutable and mutable cast to const.  A const function may 
> be accessing mutable data in a read-only fashion, but it still 
> may need to lock the monitor.

Right, no hope, thank you.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list