Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::HasMakeNew< T > Class Template Reference

template<typename T>
class ROOT::Internal::RDF::HasMakeNew< T >

Definition at line 20 of file RActionImpl.hxx.

Static Public Attributes

static constexpr bool value = decltype(Test<T>(0))::value
 

Static Private Member Functions

template<typename C >
static std::false_type Test (...)
 
template<typename C , typename = decltype(std::declval<C>().MakeNew((void *)(nullptr), std::string_view{}))>
static std::true_type Test (int)
 

#include <ROOT/RDF/RActionImpl.hxx>

Member Function Documentation

◆ Test() [1/2]

template<typename T >
template<typename C >
static std::false_type ROOT::Internal::RDF::HasMakeNew< T >::Test ( ...)
staticprivate

◆ Test() [2/2]

template<typename T >
template<typename C , typename = decltype(std::declval<C>().MakeNew((void *)(nullptr), std::string_view{}))>
static std::true_type ROOT::Internal::RDF::HasMakeNew< T >::Test ( int )
staticprivate

Member Data Documentation

◆ value

template<typename T >
constexpr bool ROOT::Internal::RDF::HasMakeNew< T >::value = decltype(Test<T>(0))::value
staticconstexpr

Definition at line 27 of file RActionImpl.hxx.

  • tree/dataframe/inc/ROOT/RDF/RActionImpl.hxx