Skip to content

Commit

Permalink
Don't recommend std::bind().
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv committed Aug 22, 2024
1 parent fbd3678 commit dce0e23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/pqxx/transactor.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ namespace pqxx
* to confirm a commit. It all depends on the type of exception.
*
* The callback takes no arguments. If you're using lambdas, the easy way to
* pass arguments is for the lambda to "capture" them from your variables. Or,
* if you're using functions, you may want to use `std::bind`.
* pass arguments is for the lambda to "capture" them from your variables.
*
* Once your callback succeeds, it can return a result, and @ref perform will
* return that result back to you.
Expand Down

0 comments on commit dce0e23

Please sign in to comment.