On 8/2/2011 3:00 PM, Marco Leise wrote:
Hmm yes, that cannot be argued. But you can go with the undefined behaviour resulting in casting away const in D. Isn't that the same category?
Not exactly:1. Undefined behavior is just that, undefined. In C++, it is defined behavior and must be supported.
2. In safe mode in D, you cannot cast away const.
