ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Classes | Variables
ttg::meta::detail Namespace Reference

Classes

struct  callable_signature
 
struct  callable_traits_impl
 primary template: not a callable with a unique signature (e.g. generic or overloaded callables) More...
 
struct  callable_traits_impl< F *, std::enable_if_t< std::is_function_v< F > > >
 
struct  callable_traits_impl< R(Args...) noexcept >
 
struct  callable_traits_impl< R(Args...)>
 
struct  callable_traits_impl< R(Args...,...) noexcept >
 
struct  callable_traits_impl< R(Args...,...)>
 
struct  callable_traits_impl< T, std::void_t< decltype(&T::operator())> >
 
struct  function_object_traits
 
struct  function_object_traits< T, CallOpPtr, std::enable_if_t< is_explicit_object_call_op_v< T, CallOpPtr > > >
 
struct  function_object_traits< T, CallOpPtr, std::enable_if_t< std::is_member_function_pointer_v< CallOpPtr > > >
 
struct  keep_or_drop
 
struct  keep_or_drop< false >
 
struct  typelist_split_first
 splits a nonempty ttg::typelist into its first type and the rest; has no members for an empty typelist More...
 
struct  typelist_split_first< ttg::typelist< First, Rest... > >
 

Variables

template<typename F , typename Typelist >
constexpr bool is_invocable_with_v = false
 
template<typename T , typename CallOpPtr , typename Enabler = void>
constexpr bool is_explicit_object_call_op_v = false
 

Variable Documentation

◆ is_explicit_object_call_op_v

template<typename T , typename CallOpPtr , typename Enabler = void>
constexpr bool ttg::meta::detail::is_explicit_object_call_op_v = false
constexpr

true if CallOpPtr , the type of &T::operator(), is a function pointer obtained from an operator() with an explicit object parameter (C++23 "deducing this", e.g. void operator()(this const T&, int)): its first parameter is the object (of type T or its base), and an object of type T can only be invoked without it. The latter check distinguishes it from a static operator() whose first parameter happens to be the object type.

Definition at line 96 of file callable.h.

◆ is_invocable_with_v

template<typename F , typename Typelist >
constexpr bool ttg::meta::detail::is_invocable_with_v< F, ttg::typelist< Args... > > = false
constexpr

Definition at line 87 of file callable.h.