Const Ideas
Craig Black
craigblack2 at cox.net
Sun Dec 2 19:31:44 PST 2007
> "const X" and "const(X)" must mean the same thing
Sorry if this is a stupid question, but if
const XY
means that both X and Y are const, then
const(X)Y will not be equivalent to const XY and thus
const(X) will not always be equivalent to const X
So what does everyone mean when they make this a requirement? It seems to
be a contradiction with the current approach to const.
More information about the Digitalmars-d
mailing list