Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TypeTraits Class Reference

Public Types

template<typename F >
using CallableTraits = ROOT::Detail::CallableTraitsImpl< F >
 Extract types from the signature of a callable object.
 
template<typename F , typename... Args>
using InvokeResult_t = std::result_of_t< F(Args...)>
 An adapter for std::invoke_result that falls back to std::result_of if the former is not available.
 
template<class T >
using IsFloatNumeral = std::is_floating_point< T >
 Checks for floating point types (that are not characters)
 
template<typename... Args>
using RemoveFirst_t = typename RemoveFirst< Args... >::type
 
template<typename T >
using RemoveFirstParameter_t = typename RemoveFirstParameter< T >::type
 
template<typename T >
using TakeFirstParameter_t = typename TakeFirstParameter< T >::type
 
template<typename... Types>
using TakeFirstType_t = typename TakeFirstType< Types... >::type
 

#include <ROOT/TypeTraits.hxx>

Member Typedef Documentation

◆ CallableTraits

Extract types from the signature of a callable object.

The CallableTraits struct contains three type aliases:

  • arg_types: a TypeList of all types in the signature, decayed through std::decay
  • arg_types_nodecay: a TypeList of all types in the signature, including cv-qualifiers

Definition at line 119 of file TypeTraits.hxx.

◆ InvokeResult_t

template<typename F , typename... Args>
using TypeTraits::InvokeResult_t = std::result_of_t<F(Args...)>

An adapter for std::invoke_result that falls back to std::result_of if the former is not available.

Definition at line 201 of file TypeTraits.hxx.

◆ IsFloatNumeral

template<class T >
using TypeTraits::IsFloatNumeral = std::is_floating_point<T>

Checks for floating point types (that are not characters)

Definition at line 112 of file TypeTraits.hxx.

◆ RemoveFirst_t

template<typename... Args>
using TypeTraits::RemoveFirst_t = typename RemoveFirst<Args...>::type

Definition at line 138 of file TypeTraits.hxx.

◆ RemoveFirstParameter_t

template<typename T >
using TypeTraits::RemoveFirstParameter_t = typename RemoveFirstParameter<T>::type

Definition at line 169 of file TypeTraits.hxx.

◆ TakeFirstParameter_t

template<typename T >
using TypeTraits::TakeFirstParameter_t = typename TakeFirstParameter<T>::type

Definition at line 155 of file TypeTraits.hxx.

◆ TakeFirstType_t

template<typename... Types>
using TypeTraits::TakeFirstType_t = typename TakeFirstType<Types...>::type

Definition at line 128 of file TypeTraits.hxx.


The documentation for this class was generated from the following file: