Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::IsMappable< FieldT > Class Template Reference

template<class FieldT>
class ROOT::Experimental::Internal::IsMappable< FieldT >

Definition at line 108 of file RNTupleView.hxx.

Classes

struct  RFailure
 

Public Types

template<class C , typename ... ArgsT>
using MapOverloadT = decltype(std::declval< C >().Map(std::declval< ArgsT >() ...))(C::*)(ArgsT ...)
 
using RSuccess = char
 

Static Public Member Functions

template<class C >
static RFailure Test (...)
 
template<class C >
static RSuccess Test (MapOverloadT< C, NTupleSize_t >)
 

Static Public Attributes

static constexpr bool value = sizeof(Test<FieldT>(0)) == sizeof(RSuccess)
 

#include <ROOT/RNTupleView.hxx>

Member Typedef Documentation

◆ MapOverloadT

template<class FieldT >
template<class C , typename ... ArgsT>
using ROOT::Experimental::Internal::IsMappable< FieldT >::MapOverloadT = decltype(std::declval<C>().Map(std::declval<ArgsT>() ...)) (C::*)(ArgsT ...)

Definition at line 114 of file RNTupleView.hxx.

◆ RSuccess

template<class FieldT >
using ROOT::Experimental::Internal::IsMappable< FieldT >::RSuccess = char

Definition at line 110 of file RNTupleView.hxx.

Member Function Documentation

◆ Test() [1/2]

template<class FieldT >
template<class C >
static RFailure ROOT::Experimental::Internal::IsMappable< FieldT >::Test (   ...)
static

◆ Test() [2/2]

template<class FieldT >
template<class C >
static RSuccess ROOT::Experimental::Internal::IsMappable< FieldT >::Test ( MapOverloadT< C, NTupleSize_t )
static

Member Data Documentation

◆ value

template<class FieldT >
constexpr bool ROOT::Experimental::Internal::IsMappable< FieldT >::value = sizeof(Test<FieldT>(0)) == sizeof(RSuccess)
staticconstexpr

Definition at line 120 of file RNTupleView.hxx.


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