Workspace 6.21.5
Static Public Member Functions | Static Public Attributes | List of all members
HasSortableValueType< T > Struct Template Reference

#include <Workspace/Application/LanguageUtils/classconstraints.h>

Static Public Member Functions

template<typename C >
static auto test (...) -> std::false_type
 
template<typename C >
static auto test (C *) -> typename std::enable_if<(sizeof(typename C::value_type) > 0) &&std::is_same< bool, decltype(std::declval< typename C::value_type >()< std::declval< typename C::value_type >())>::value, std::true_type >::type
 

Static Public Attributes

static constexpr auto value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value
 

Member Function Documentation

◆ test() [1/2]

static auto test (   ...) -> std::false_type
static

◆ test() [2/2]

static auto test ( C *  ) -> typename std::enable_if<(sizeof(typename C::value_type) > 0) &&std::is_same< bool, decltype(std::declval< typename C::value_type >()< std::declval< typename C::value_type >())>::value, std::true_type >::type
static

Member Data Documentation

◆ value

constexpr auto value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value
staticconstexpr