12#include "Refureku/TypeInfo/Functions/ICallable.h"
16 template <
typename FunctionPrototype>
19 template <
typename ReturnType,
typename... ArgTypes>
23 using FunctionPrototype = ReturnType (*)(ArgTypes...);
26 FunctionPrototype _function =
nullptr;
29 template <
typename Functor>
48 ReturnType operator()(ArgTypes&&... args) const;
51 #include "Refureku/TypeInfo/Functions/NonMemberFunction.inl"
Definition: ICallable.h:13
FunctionPrototype getFunctionHandle() const noexcept
Get a pointer to the underlying function.
Definition: NonMemberFunction.h:17
Definition: Allocator.h:16