Transitive const sucks

Janice Caron caron800 at googlemail.com
Wed Sep 12 12:17:55 PDT 2007


I was trying to simplifly. Sigh. The gist of this particular example
is that have what /starts off/ as perfectly good, non-member-modifying
code, and all is well. But then you later put in some diagnostics to
make it write stuff to a file (coz you're debugging) and suddenly it
no longer compiles and you have keep taking const out of your code all
over the place until it does.

What about all those other cases? There's a long list of applications there.



More information about the Digitalmars-d mailing list