mc_rtc::internal::_has_configuration_load_object Struct Reference

#include <mc_rtc/Configuration.h>

Static Public Member Functions

template<typename T , typename std::enable_if< std::is_same< decltype(ConfigurationLoader< T >::load(std::declval< const Configuration & >())), T >::value , int , ::type = 0>
static std::true_type test (T *p)
 
template<typename T >
static std::false_type test (...)
 

Detailed Description

Helper trait to determine whether: T ConfigurationLoader<T>::load(const mc_rtc::Configuration &); is a valid function or not

Member Function Documentation

◆ test() [1/2]

template<typename T >
static std::false_type mc_rtc::internal::_has_configuration_load_object::test (   ...)
static

◆ test() [2/2]

template<typename T , typename std::enable_if< std::is_same< decltype(ConfigurationLoader< T >::load(std::declval< const Configuration & >())), T >::value , int , ::type = 0>
static std::true_type mc_rtc::internal::_has_configuration_load_object::test ( T *  p)
static

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