QskMetaFunctionTraits

Types

  Name
template <typename T >
using typename std::enable_if< FunctionPointer< T >::IsPointerToMemberFunction, std::true_type >::type
IsMemberFunction
template <typename T >
using typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction, std::true_type >::type
IsFunctorOrStaticFunction
template <typename T >
using typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction &&FunctionPointer< T >::ArgumentCount==-1, std::true_type >::type
IsFunctor
template <typename T >
using typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction &&FunctionPointer< T >::ArgumentCount >=0, std::true_type >::type
IsStaticFunction

Functions

  Name
template <typename T ,IsMemberFunction< T > * =nullptr>
constexpr int
argumentCount()
constexpr int ::type argumentType()

Types Documentation

using IsMemberFunction

template <typename T >
using QskMetaFunctionTraits::IsMemberFunction = typedef typename std::enable_if< FunctionPointer< T >::IsPointerToMemberFunction, std::true_type >::type;

using IsFunctorOrStaticFunction

template <typename T >
using QskMetaFunctionTraits::IsFunctorOrStaticFunction = typedef typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction, std::true_type >::type;

using IsFunctor

template <typename T >
using QskMetaFunctionTraits::IsFunctor = typedef typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction && FunctionPointer< T >::ArgumentCount == -1, std::true_type >::type;

using IsStaticFunction

template <typename T >
using QskMetaFunctionTraits::IsStaticFunction = typedef typename std::enable_if< !FunctionPointer< T >::IsPointerToMemberFunction && FunctionPointer< T >::ArgumentCount >= 0, std::true_type >::type;

Functions Documentation

function argumentCount

template <typename T ,
IsMemberFunction< T > *  =nullptr>
inline constexpr int argumentCount()

function argumentType

constexpr int ::type argumentType()

Updated on 28 July 2023 at 14:02:29 CEST