4 ms·
What do you mean by "recipe for disaster"? I use them a lot in C++ and as long as you stick with RAII (which you really should), I don't see any language-specif
by Agentlien 7y ago
What do you mean by "recipe for disaster"? I use them a lot in C++ and as long as you stick with RAII (which you really should), I don't see any language-specific problems with it.
- skrebbel 7y agoSure, if all the code you write and call into (OSS etc) is fully RAII then you're good. When I last did C++ for real, lots of code out there didn't meet that standard, not in the least libraries and vendor software, so more experienced programmers than me taught me to be better safe than sorry.