Support Class Library
A set of tools providing classes and utility
|
Traits for use with the scl::async::with function. More...
#include "with_traits.h"
Public Member Functions | |
template<class F > | |
auto | operator() (Resource &resource, F &&delegate) -> scl::tools::meta ::return_t< F > |
Invoke a delegate using the wrapper. More... | |
Traits for use with the scl::async::with function.
Resource | being the type of the value passed to scl::async::with |
Definition at line 15 of file with_traits.h.
|
inline |
Invoke a delegate using the wrapper.
F | being the type of the delegate |
resource | being the resource to use |
delegate | being the delegate to which the value will be passed |
Definition at line 23 of file with_traits.h.