SushiEngine::Core::FunctionRef< Result(Arguments...)>
FunctionRef
template <typename Callable, typename = std::enable_if_t< !std::is_same<std::decay_t<Callable>, FunctionRef>::value>>
FunctionRef(Callable &&callable) noexceptParameters
| Name | Type | Description |
|---|---|---|
callable | Callable && | Callable this reference does not extend the lifetime of; a temporary stays valid to the end of the full expression that created it. |
Description
Binds to callable by address; no allocation, no ownership taken.

