More on C++ stack arrays

deadalnix deadalnix at gmail.com
Wed Oct 23 10:28:27 PDT 2013


On Wednesday, 23 October 2013 at 14:54:22 UTC, dennis luehring 
wrote:
> can't you remove the if(this.ptr is null) return; checks 
> everywhere - how should that happen - without exception at 
> creation time

Struct.init must be a valid state according to D specs, and it is 
pretty much unavoidable considering we have no default 
constructor for structs.


More information about the Digitalmars-d mailing list