Helper struct for do_once which uses partial specialization to dispatch to correct implementation for void and non-void return types of F
.
More...
Static Public Member Functions | |
static Rtn | apply (F &&f, Args &&... args) |
Helper struct for do_once which uses partial specialization to dispatch to correct implementation for void and non-void return types of F
.
F | Function object passed to do_once. |
Rtn | Return type of F . |
Args | List of arguments to pass to function object invocation. |