cast(!const) proposal

Janice Caron caron800 at googlemail.com
Sun Sep 9 13:39:31 PDT 2007


> It will also allow you to grep your or other peoples source for this
> kind of cast, which is currently not possible at all in D, but is in C++.

Actually, it's not possible is C++, because even though you can grep
for const_cast, you can't grep for the old-fashioned C way of casting,
and that's still legal in C++.

D would automatically become the winner.



More information about the Digitalmars-d mailing list