Defines
SfinaeMacros.hpp File Reference
#include <type_traits>
Include dependency graph for SfinaeMacros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ApproxMVBB_SFINAE_ENABLE_IF(__meta__)   typename std::enable_if< ( __meta__ ) >::type * = nullptr

Define Documentation

#define ApproxMVBB_SFINAE_ENABLE_IF (   __meta__)    typename std::enable_if< ( __meta__ ) >::type * = nullptr

use this macro in sfinae selection in templated functions

template<typename TopoType, typename std::enable_if<MPILayer::isGridTopoBuilder<TopoType>::value>::type * = nullptr typename std::enable_if<MPILayer::isPolymorphic<TopoType>::value>::type * = nullptr > void foo(){}

becomes =>

template<typename TopoType, SFINAE_ENABLE_IF( MPILayer::isGridTopoBuilder<TopoType>::value ), SFINAE_ENABLE_IF( MPILayer::isPolymorphic<TopoType>::value ), > void foo(){}

Definition at line 23 of file SfinaeMacros.hpp.



asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:50