preparing for const, final, and invariant

Walter Bright newshound1 at digitalmars.com
Mon May 21 01:50:36 PDT 2007


Reiner Pope wrote:
> or why not use the ! operator, which already means 'not':
> 
> void foo(!const C c)
> {
>     c.x = 3;
> }

That's Andrei's suggestion, too. It would take some getting used to.



More information about the Digitalmars-d-announce mailing list