How to use structs for RAII?

Sean Eskapp eatingstaples at gmail.com
Sat Jan 22 15:03:15 PST 2011


It was recommended to me to use structs for RAII instead of scope classes,
since scope is being removed (?). However, since default-constructors for
structs can't exist, how does one do this?


More information about the Digitalmars-d-learn mailing list