-
Notifications
You must be signed in to change notification settings - Fork 11
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
Provide Drop-based API for Transactions #53
Milestone
Comments
That is a good idea. I approve of it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it should be possible to implement an API similar to what I'm seeing in your cxx-alt variant of sodium where a
Transaction
object can be created that keeps the transaction open as long as that struct is alive and closes the transaction when it is destructed. This would give the same sort of RAII-guard type benefits and allow the tests between the two variants to look MUCH more similar.The text was updated successfully, but these errors were encountered: