In C++, when using the Resource Acquisition is Initialization (RAII) pattern, are there any common conventions for naming the classes?
In my case, I have classes which do the following kinds of things and I would like names which are likely to invoke a useful meaning to a first time reader when seeing one of these on the stack:
As a first cut, I have used names like these (in corresponding order to above), but hope to improve upon them:
RAII should be used all throughout the language. Since it should be the default, there's is no naming convention to follow.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With