Intrepid2
Classes | Public Types | Private Types | Static Private Member Functions | List of all members
Intrepid2::supports_rank_3< T > Class Template Reference

SFINAE helper to detect whether a type supports a 3-integral-argument operator(). More...

#include <Intrepid2_Utils.hpp>

Classes

struct  two
 

Public Types

enum  { value = (sizeof(test<T>(0)) == sizeof(char)) && (getFixedRank<T,3>() == 3) }
 

Private Types

typedef char one
 

Static Private Member Functions

template<typename C >
static one test (typename std::remove_reference< decltype(std::declval< C >().operator()(0, 0, 0))>::type)
 
template<typename C >
static two test (...)
 

Detailed Description

template<typename T>
class Intrepid2::supports_rank_3< T >

SFINAE helper to detect whether a type supports a 3-integral-argument operator().

Definition at line 464 of file Intrepid2_Utils.hpp.


The documentation for this class was generated from the following file: