Fully transitive const is not necessary
Janice Caron
caron800 at googlemail.com
Wed Apr 2 11:07:31 PDT 2008
On 02/04/2008, guslay <guslay at gmail.com> wrote:
> You have just made the mistake to assume that const implies thread-safe.
No I didn't. I stated that const is a /necessary/ condition for thread
safety, but nowhere did I claim it was a /sufficient/ condition.
I assumed (demonstrated, in fact), that mutable implies thread-unsafe,
but not that const implies thread-safe. There is a difference.
More information about the Digitalmars-d
mailing list