Contents

class

SushiEngine::Core::FunctionRef< Result(Arguments...)>

template <typename Result, typename... Arguments>

Binds, without owning, to any callable invocable as Result(Arguments...).

Declared in
engine/foundation/core/include/SushiEngine/core/function_ref.hpp

Precondition

The bound callable outlives every call made through this reference.

Public Methods

FunctionRef

Binds to callable by address; no allocation, no ownership taken.

operator()

Calls the bound callable with arguments and returns its result.