Struct with default ctor (Was: [dmd-beta] dmd 2.064 beta take 2)

Simen Kjaeraas simen.kjaras at gmail.com
Mon May 20 04:42:20 PDT 2013


On Sun, 19 May 2013 20:05:02 +0200, Idan Arye <GenericNPC at gmail.com> wrote:

> These are the assumptions I'm working with:
>   - We can't use a nullable reference
>   - We can't initialize the reference upon declaration to it's real  
> value.

Indeed, if that's the case, then what you're doing is fairly sensible. But
if #2 is true, then #1 should never be true.

-- 
Simen


More information about the Digitalmars-d mailing list