-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize transactor callable (#279)
* Generalize transactor callable This permits calling pqxx::perform on a more general set of callable[1] objects by using std::invoke[2] for perfect forwarding. [1] https://en.cppreference.com/w/cpp/named_req/Callable [2] https://en.cppreference.com/w/cpp/utility/functional/invoke * Mark transactor unit tests noexcept as necessary Tests are run with -Werror=noexcept, so we need to mark these lambdas as noexcept in this case.
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters