| 
    Intrepid2
    
   | 
 
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>
Classes | |
| struct | two | 
Public Types | |
| enum | { value = sizeof(test<T>(0)) == sizeof(char) } | 
Private Types | |
| typedef char | one | 
Static Private Member Functions | |
| template<typename C > | |
| static one | test (decltype(std::declval< C >().rank())) | 
| template<typename C > | |
| static two | test (...) | 
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.
 1.8.5