-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pool with RAII #890
Labels
Comments
The problem is that the pool returns simple pointers or references to an object. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. The pool is pretty nice container in embedded systems.
But there is an issue - it is incompatiable with RAII concept. (as far as i understand, i may be totally wrong).
It is nice to have a pool class, what generate some sort of pointer wrappers to objects, what can be deleted only by call the pool method. Or maybe even with integrated deleter.
The text was updated successfully, but these errors were encountered: