"Value class instance" pattern?

Dicebot public at dicebot.lv
Sun Jul 14 09:59:29 PDT 2013


Ugh, rly? As far as I understand spec it should work like this:

T x; // sets x to T.init
T x = void; // don't initialize x at all, leave garbage

What hole in .init are you referring to?

On Sunday, 14 July 2013 at 16:49:13 UTC, Artur Skawina wrote:
> ...


More information about the Digitalmars-d mailing list