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>
using TypeTraits::CallableTraits = ROOT::Detail::CallableTraitsImpl<F> |
Extract types from the signature of a callable object.
The CallableTraits
struct contains three type aliases:
TypeList
of all types in the signature, decayed through std::decayTypeList
of all types in the signature, including cv-qualifiers Definition at line 119 of file TypeTraits.hxx.
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.
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.
using TypeTraits::RemoveFirst_t = typename RemoveFirst<Args...>::type |
Definition at line 138 of file TypeTraits.hxx.
using TypeTraits::RemoveFirstParameter_t = typename RemoveFirstParameter<T>::type |
Definition at line 169 of file TypeTraits.hxx.
using TypeTraits::TakeFirstParameter_t = typename TakeFirstParameter<T>::type |
Definition at line 155 of file TypeTraits.hxx.
using TypeTraits::TakeFirstType_t = typename TakeFirstType<Types...>::type |
Definition at line 128 of file TypeTraits.hxx.