13 template <
class Resource,
class F>
14 auto with(Resource&& res, F&& f) -> META::return_t<F> {
16 return traits(std::forward<Resource>(res), std::forward<F>(f));
Global namespace of the SCL.
auto with(Resource &&res, F &&f) -> scl::tools::meta ::return_t< F >
Execute a transaction in a guarded manner.
Traits for use with the scl::async::with function.