EnTT 3.14.0
|
Utility class to forward-and-apply tuple objects. More...
#include <tuple.hpp>
Public Member Functions | |
template<typename... Args> | |
constexpr | forward_apply (Args &&...args) noexcept(std::is_nothrow_constructible_v< Func, Args... >) |
Constructs a forward-and-apply object. | |
template<typename Type > | |
constexpr decltype(auto) | operator() (Type &&args) noexcept(noexcept(std::apply(std::declval< Func & >(), args))) |
Forwards and applies the arguments with the underlying function. | |
template<typename Type > | |
constexpr decltype(auto) | operator() (Type &&args) const noexcept(noexcept(std::apply(std::declval< const Func & >(), args))) |
Forwards and applies the arguments with the underlying function. | |
Utility class to forward-and-apply tuple objects.
Func | Type of underlying invocable object. |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Forwards and applies the arguments with the underlying function.
Type | Tuple-like type to forward to the underlying function. |
args | Parameters to forward to the underlying function. |
|
inlineconstexprnoexcept |
Forwards and applies the arguments with the underlying function.
Type | Tuple-like type to forward to the underlying function. |
args | Parameters to forward to the underlying function. |