C++ const expression are not that const after all

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 29 12:06:50 PDT 2015


On 4/29/2015 12:14 AM, Jacob Carlborg wrote:
> On 2015-04-29 02:49, Walter Bright wrote:
>
>> Yes, many times, yes. Report it to bugzilla as a bug. Any code relying
>> on buggy behavior listed in bugzilla is likely to get little sympathy
>> from the D community when it breaks due to a bugfix.
>
> The most difficult part is to figure if a weird behavior is a bug or not.

Mutable const sure has a buggy smell about it. If it's not a bug, then someone 
will mark the bugzilla issue as "invalid".



More information about the Digitalmars-d mailing list