#include <type_traits>
#include "ttg/util/meta.h"
#include "ttg/util/typelist.h"
Go to the source code of this file.
|
| struct | ttg::meta::detail::callable_signature< R, Args > |
| |
| struct | ttg::meta::detail::callable_traits_impl< T, Enabler > |
| | primary template: not a callable with a unique signature (e.g. generic or overloaded callables) More...
|
| |
| struct | ttg::meta::detail::callable_traits_impl< R(Args...)> |
| |
| struct | ttg::meta::detail::callable_traits_impl< R(Args...) noexcept > |
| |
| struct | ttg::meta::detail::callable_traits_impl< R(Args...,...)> |
| |
| struct | ttg::meta::detail::callable_traits_impl< R(Args...,...) noexcept > |
| |
| struct | ttg::meta::detail::callable_traits_impl< F *, std::enable_if_t< std::is_function_v< F > > > |
| |
| struct | ttg::meta::detail::typelist_split_first< Typelist > |
| | splits a nonempty ttg::typelist into its first type and the rest; has no members for an empty typelist More...
|
| |
| struct | ttg::meta::detail::typelist_split_first< ttg::typelist< First, Rest... > > |
| |
| struct | ttg::meta::detail::function_object_traits< T, CallOpPtr, Enabler > |
| |
| struct | ttg::meta::detail::function_object_traits< T, CallOpPtr, std::enable_if_t< std::is_member_function_pointer_v< CallOpPtr > > > |
| |
| struct | ttg::meta::detail::function_object_traits< T, CallOpPtr, std::enable_if_t< is_explicit_object_call_op_v< T, CallOpPtr > > > |
| |
| struct | ttg::meta::detail::callable_traits_impl< T, std::void_t< decltype(&T::operator())> > |
| |
| struct | ttg::meta::is_generic_callable< Callable, typename > |
| |
| struct | ttg::meta::is_generic_callable< Callable, ttg::meta::void_t< callable_args_t< Callable > > > |
| |
| struct | ttg::meta::candidate_argument_bindings< T, std::enable_if_t<!std::is_reference_v< T > &&!std::is_void_v< T > > > |
| |
| struct | ttg::meta::candidate_argument_bindings< void, void > |
| |
| struct | ttg::meta::candidate_argument_bindings< const void, void > |
| |
|
| #define | TTG_CALLABLE_TRAITS_PMF_IMPL(CV, REF, OBJREF, NOEXCEPT, VARARGS) |
| |
| #define | TTG_CALLABLE_TRAITS_COMMA_ELLIPSIS , ... |
| |
| #define | TTG_CALLABLE_TRAITS_PMF_VARARGS(CV, REF, OBJREF, NOEXCEPT) |
| |
| #define | TTG_CALLABLE_TRAITS_PMF_NOEXCEPT(CV, REF, OBJREF) |
| |
| #define | TTG_CALLABLE_TRAITS_PMF_REF(CV) |
| |
|
| template<std::size_t N> |
| constexpr auto | ttg::meta::ordinal2index (std::size_t ordinal, std::array< std::size_t, N > extents) |
| |
| template<std::size_t Ordinal, typename Func , typename... Typelists, std::size_t... ArgIdx> |
| auto | ttg::meta::compute_arg_binding_types_impl (Func &func, typelist< Typelists... > argument_type_lists, std::index_sequence< ArgIdx... > arg_idx={}) |
| |
| template<std::size_t Ordinal, typename ReturnType , typename Func , typename... Typelists, std::size_t... ArgIdx> |
| auto | ttg::meta::compute_arg_binding_types_r_impl (Func &func, typelist< Typelists... > argument_type_lists, std::index_sequence< ArgIdx... > arg_idx={}) |
| |
| template<typename Func , typename... Typelists> |
| auto | ttg::meta::compute_arg_binding_types (Func &func, typelist< Typelists... > argument_type_lists) |
| |
| template<typename ReturnType , typename Func , typename... Typelists> |
| auto | ttg::meta::compute_arg_binding_types_r (Func &func, typelist< Typelists... > argument_type_lists) |
| |
◆ TTG_CALLABLE_TRAITS_COMMA_ELLIPSIS
| #define TTG_CALLABLE_TRAITS_COMMA_ELLIPSIS , ... |
◆ TTG_CALLABLE_TRAITS_PMF_IMPL
| #define TTG_CALLABLE_TRAITS_PMF_IMPL |
( |
|
CV, |
|
|
|
REF, |
|
|
|
OBJREF, |
|
|
|
NOEXCEPT, |
|
|
|
VARARGS |
|
) |
| |
Value: template <typename R, typename C, typename... Args> \
struct callable_traits_impl<R (C::*)(Args... VARARGS) CV REF NOEXCEPT> \
: callable_signature<R, CV C OBJREF, Args...> { \
};
Definition at line 48 of file callable.h.
◆ TTG_CALLABLE_TRAITS_PMF_NOEXCEPT
| #define TTG_CALLABLE_TRAITS_PMF_NOEXCEPT |
( |
|
CV, |
|
|
|
REF, |
|
|
|
OBJREF |
|
) |
| |
Value:
TTG_CALLABLE_TRAITS_PMF_VARARGS(CV, REF, OBJREF, noexcept)
#define TTG_CALLABLE_TRAITS_PMF_VARARGS(CV, REF, OBJREF, NOEXCEPT)
Definition at line 58 of file callable.h.
◆ TTG_CALLABLE_TRAITS_PMF_REF
| #define TTG_CALLABLE_TRAITS_PMF_REF |
( |
|
CV | ) |
|
Value:
TTG_CALLABLE_TRAITS_PMF_NOEXCEPT(CV, &, &) \
TTG_CALLABLE_TRAITS_PMF_NOEXCEPT(CV, &&, &&)
#define TTG_CALLABLE_TRAITS_PMF_NOEXCEPT(CV, REF, OBJREF)
Definition at line 61 of file callable.h.
◆ TTG_CALLABLE_TRAITS_PMF_VARARGS
| #define TTG_CALLABLE_TRAITS_PMF_VARARGS |
( |
|
CV, |
|
|
|
REF, |
|
|
|
OBJREF, |
|
|
|
NOEXCEPT |
|
) |
| |
Value:
#define TTG_CALLABLE_TRAITS_PMF_IMPL(CV, REF, OBJREF, NOEXCEPT, VARARGS)
#define TTG_CALLABLE_TRAITS_COMMA_ELLIPSIS
Definition at line 55 of file callable.h.