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
A move constructor for the session object #526
Comments
Oh, just in case that sounded like a whinge -- love SOCI so far! :) |
Adding a move ctor to this class shouldn't be a problem, if you can add the few required lines and a test to check that it's working, please feel free to submit a pull request with them. Just please use |
I'll have a look in the week -- cheers, @vadz |
Good idea, thanks in advance @biot023 |
I've had a quick look on my lunch hour -- you'll need to bear with me -- the code changes are probably easy enough, but I've got to figure out the test framework and work out how to test my changes! :) |
Hi -- it would be nice to have a move constructor for the session object.
I'm writing a wrapper around a connection pool for a project I'm working on, and having to return session instances in
unique_ptr
s.Which is fine, I guess, but it would be nice to use value semantics.
The text was updated successfully, but these errors were encountered: