D const design rationale
Myron Alexander
someone at somewhere.com
Thu Jun 21 04:49:53 PDT 2007
Walter Bright wrote:
> http://www.digitalmars.com/d/const.html
Hello Walter.
Thanks, a very interesting read. I think the only missing element is a
discussion, and example, of the invariant keyword, and how it differs
from const. I know you have it explained in this page
(http://www.digitalmars.com/d/final-const-invariant.html) but since you
mention final, and in the C++ portion you talk about the problems with
C++ const that are solved by invariant but not const, then I believe it
should be added to show how the "constness" hole is close.
Regards,
Myron.
More information about the Digitalmars-d
mailing list