Go to the source code of this file.
Macros | |
#define | EIGEN_CONSTEXPR |
#define | EIGEN_SFINAE_ENABLE_IF(__condition__) typename internal::enable_if< ( __condition__ ) , int >::type = 0 |
#define EIGEN_CONSTEXPR |
Definition at line 50 of file TensorMacros.h.
#define EIGEN_SFINAE_ENABLE_IF | ( | __condition__ | ) | typename internal::enable_if< ( __condition__ ) , int >::type = 0 |
use this macro in sfinae selection in templated functions
template<typename T, typename std::enable_if< isBanana<T>::value , int >::type = 0
void foo(){}
becomes =>
template<typename TopoType, SFINAE_ENABLE_IF( isBanana<T>::value )
void foo(){}
Definition at line 43 of file TensorMacros.h.