#include <Workspace/Application/LanguageUtils/classconstraints.h>
|
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 constexpr auto | value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value |
|
◆ 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 |
◆ value
constexpr auto value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value |
|
staticconstexpr |