mpqc::detail::has_provider< T > Struct Template Reference

Documentation

template<typename T>
struct mpqc::detail::has_provider< T >

has_provider<T>::value is true if T::Provider is a valid type

Static Public Member Functions

template<typename U >
static std::true_type test (typename U::Provider *)
 
template<typename U >
static std::false_type test (...)
 

Static Public Attributes

static constexpr const bool value = decltype(test<T>(nullptr))::value
 

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename U >
static std::false_type mpqc::detail::has_provider< T >::test (   ...)
static

◆ test() [2/2]

template<typename T >
template<typename U >
static std::true_type mpqc::detail::has_provider< T >::test ( typename U::Provider *  )
static

Member Data Documentation

◆ value

template<typename T >
constexpr const bool mpqc::detail::has_provider< T >::value = decltype(test<T>(nullptr))::value
staticconstexpr

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