header_utils
|
Additional useful delegates (like std::function<>
)
More...
Classes | |
class | ghassanpl::mutlticast_function< R(ARGS...)> |
Like std::function<R(ARGS...)> but can reference multiple invocables, and call them all at once. More... | |
Functions | |
template<typename... ARGS> | |
auto | ghassanpl::make_single_time_function (std::function< void(ARGS...)> func) |
Returns a function that calls func when invoked, but only the first time. | |
template<typename FUNC > | |
auto | ghassanpl::make_single_time_function (FUNC &&func) |
Returns a function that calls func when invoked, but only the first time. | |
Additional useful delegates (like std::function<>
)
Returns a function that calls func
when invoked, but only the first time.
Definition at line 146 of file functional.h.
auto ghassanpl::make_single_time_function | ( | std::function< void(ARGS...)> | func | ) |
Returns a function that calls func
when invoked, but only the first time.
Definition at line 136 of file functional.h.