1 #ifndef SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP 2 #define SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP 5 #include <siplasplas/typeerasure/function.hpp> 10 namespace dynamic_reflection
23 template<
typename... Args>
26 return _functionPointer(std::forward<Args>(args)...);
32 template<
typename... Args>
35 return _functionPointer(std::forward<Args>(args)...);
64 static Function& fromEntity(
const std::shared_ptr<Entity>& entity);
76 #endif // SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP Definition: canary_allocator.hpp:7
Stires dynamic reflection information of a function.
Definition: function.hpp:17
auto operator()(Args &&... args) const
Invokes the function with the given arguments.
Definition: function.hpp:24
Stores a type-erased callable of any signature and kind.
Definition: function.hpp:58
Represents a C++ semantic entity (Class, function, namespace, etc) and manages its dynamic reflection...
Definition: entity.hpp:22
auto operator()(Args &&... args)
Invokes the function with the given arguments.
Definition: function.hpp:33