Macros
TensorMacros.h File Reference

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
 

Macro Definition Documentation

#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.



hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:50