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?
- How to use structs for RAII? Sean Eskapp
- Re: How to use structs for RAII? bearophile
- Re: How to use structs for RAII? Sean Eskapp
- Re: How to use structs for RAII? Andrej Mitrovic
- assert vs enforce? Sean Eskapp
- Re: assert vs enforce? Robert Clipsham
- Re: assert vs enforce? Andrej Mitrovic
- Re: assert vs enforce? Sean Eskapp
- Re: How to use structs for RAII? Jacob Carlborg
- Re: How to use structs for RAII? Andrej Mitrovic
- Re: How to use structs for RAII? Sean Eskapp