Initialization of structure field w/o default ctor

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 22 04:21:48 PST 2015


What's the best way to initialize structure field that has no default ctor?
http://dpaste.dzfl.pl/64cd0a3879fa

Also can I avoid "dummy" non-default ctor for Bar?


More information about the Digitalmars-d-learn mailing list