C++ const expression are not that const after all

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 29 12:37:57 PDT 2015


On Wed, Apr 29, 2015 at 12:06:50PM -0700, Walter Bright via Digitalmars-d wrote:
> 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.

It's definitely an oxymoron, bug or not!


T

-- 
Those who don't understand D are condemned to reinvent it, poorly. -- Daniel N


More information about the Digitalmars-d mailing list