Struct with default ctor (Was: [dmd-beta] dmd 2.064 beta take 2)
Jonathan M Davis
jmdavisProg at gmx.com
Sat May 18 00:22:08 PDT 2013
On Saturday, May 18, 2013 00:14:30 Walter Bright wrote:
> What default would you use for non-null pointers?
It would basically have to @disable init, because you can't have a default for
non-nullable pointers. It just wouldn't make sense. Pretty much the whole
point of them is to guarantee that they've been initialized with a valid
value.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list