EnTT 3.14.0
|
Poly base class used to inject functionalities into concepts. More...
#include <poly.hpp>
Public Member Functions | |
template<std::size_t Member, typename... Args> | |
decltype(auto) | invoke (const poly_base &self, Args &&...args) const |
Invokes a function from the static virtual table. | |
template<std::size_t Member, typename... Args> | |
decltype(auto) | invoke (poly_base &self, Args &&...args) |
Invokes a function from the static virtual table. | |
Poly base class used to inject functionalities into concepts.
Poly | The outermost poly class. |
|
inline |
Invokes a function from the static virtual table.
Member | Index of the function to invoke. |
Args | Types of arguments to pass to the function. |
self | A reference to the poly object that made the call. |
args | The arguments to pass to the function. |
|
inline |
Invokes a function from the static virtual table.
Member | Index of the function to invoke. |
Args | Types of arguments to pass to the function. |
self | A reference to the poly object that made the call. |
args | The arguments to pass to the function. |