preparing for const, final, and invariant

Walter Bright newshound1 at digitalmars.com
Fri May 18 10:42:59 PDT 2007


Don Clugston wrote:
> Walter Bright wrote:
>> final - the parameter will not be reassigned within the function
>> const - the function will not attempt to change the contents of what 
>> is referred to
>> scope - the function will not keep a reference to the parameter's data 
>> that will persist beyond the scope of the function
> 
> Looks great, although somewhat overwhelming for a newcomer.
> Will functions be overloadable on all of these?

Just for const.

> Anyway, it sounds as though we'll see 2.0 beta 1 before DMD 1.15 ?

Probably <g>.



More information about the Digitalmars-d-announce mailing list