Pogosim
Loading...
Searching...
No Matches
detail Namespace Reference

Functions

template<typename T>
std::enable_if< std::is_arithmetic< T >::value, T >::type numeric_fallback (const YAML::Node &n, const T &default_value)
 compile-time branch for arithmetic targets
template<typename T>
std::enable_if<!std::is_arithmetic< T >::value, T >::type numeric_fallback (const YAML::Node &, const T &default_value)
 branch for non-arithmetic targets – just forward the default

Function Documentation

◆ numeric_fallback() [1/2]

template<typename T>
std::enable_if<!std::is_arithmetic< T >::value, T >::type detail::numeric_fallback ( const YAML::Node & ,
const T & default_value )

branch for non-arithmetic targets – just forward the default

◆ numeric_fallback() [2/2]

template<typename T>
std::enable_if< std::is_arithmetic< T >::value, T >::type detail::numeric_fallback ( const YAML::Node & n,
const T & default_value )

compile-time branch for arithmetic targets