Why no struct default constructors?

Sean Eskapp eatingstaples at gmail.com
Sat Feb 12 10:48:04 PST 2011


With the removal of scope classes, the only way of which I know to use RAII
objects is to use structs. This is fine, but structs aren't allowed default
constructors! Why is this?


More information about the Digitalmars-d mailing list