Tests whether a class implements rank(). Used in getFunctorRank() method below; allows us to do one thing for View and another for DynRankView and our custom Functor types.
More...
#include <Intrepid2_Utils.hpp>
|
| enum | { value = sizeof(test<T>(0)) == sizeof(char)
} |
| |
|
|
template<typename C > |
| static one | test (decltype(std::declval< C >().rank())) |
| |
|
template<typename C > |
| static two | test (...) |
| |
template<typename T>
class Intrepid2::has_rank_method< T >
Tests whether a class implements rank(). Used in getFunctorRank() method below; allows us to do one thing for View and another for DynRankView and our custom Functor types.
Definition at line 724 of file Intrepid2_Utils.hpp.
◆ one
◆ anonymous enum
The documentation for this class was generated from the following file:
- /home/runner/work/trilinos.github.io/trilinos.github.io/Trilinos/packages/intrepid2/src/Shared/Intrepid2_Utils.hpp