"Value class instance" pattern?

Dicebot public at dicebot.lv
Sun Jul 14 09:17:24 PDT 2013


On Sunday, 14 July 2013 at 15:28:26 UTC, bearophile wrote:
> Namespace:
>
>> The warning comes from:
>> http://dlang.org/changelog.html#staticfields
>
> But is "void" an initializer?
>
> Bye,
> bearophile

Technically - yes, but I think it should be an exclusion from 
general rules mentioned there because of special semantics it 
has. Until then you can safely just ignore this warning, it 
exists only as part of behavior change process.


More information about the Digitalmars-d mailing list