TiledArray::detail::is_strictly_ordered_helper< T > Struct Template Reference

Documentation

template<typename T>
struct TiledArray::detail::is_strictly_ordered_helper< T >

Definition at line 763 of file type_traits.h.

Public Types

using Yes = char
 
using No = int
 

Static Public Member Functions

template<typename U >
static auto test (void *) -> decltype(std::add_pointer_t< decltype(std::declval< U >()< std::declval< U >())>
 
template<typename... >
static No test (...)
 

Public Attributes

 Yes {})
 

Static Public Attributes

static constexpr const bool value = sizeof(test<T>(0)) == sizeof(Yes)
 

Member Typedef Documentation

◆ No

template<typename T >
using TiledArray::detail::is_strictly_ordered_helper< T >::No = int

Definition at line 765 of file type_traits.h.

◆ Yes

template<typename T >
using TiledArray::detail::is_strictly_ordered_helper< T >::Yes = char

Definition at line 764 of file type_traits.h.

Member Function Documentation

◆ test() [1/2]

template<typename T >
template<typename... >
static No TiledArray::detail::is_strictly_ordered_helper< T >::test (   ...)
static

◆ test() [2/2]

template<typename T >
template<typename U >
static auto TiledArray::detail::is_strictly_ordered_helper< T >::test ( void *  ) -> decltype( std::add_pointer_t<decltype(std::declval<U>() < std::declval<U>())>
inlinestatic

Definition at line 767 of file type_traits.h.

Member Data Documentation

◆ value

template<typename T >
constexpr const bool TiledArray::detail::is_strictly_ordered_helper< T >::value = sizeof(test<T>(0)) == sizeof(Yes)
staticconstexpr

Definition at line 774 of file type_traits.h.

◆ Yes

template<typename T >
TiledArray::detail::is_strictly_ordered_helper< T >::Yes {})

Definition at line 769 of file type_traits.h.


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