Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
shambase::has_operator_self_greater_than< T > Class Template Reference

Checks if the type T has an operator ">" defined for self-comparison. More...

#include <shambase/include/shambase/type_traits.hpp>

Static Public Attributes

static constexpr bool value = std::is_same<decltype(test<T>(0)), found>::value
 Static constexpr bool member that is true if the operator > is defined for type T.
 

Detailed Description

template<typename T>
class shambase::has_operator_self_greater_than< T >

Checks if the type T has an operator ">" defined for self-comparison.

Template Parameters
Ttype to check

Definition at line 148 of file type_traits.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool shambase::has_operator_self_greater_than< T >::value = std::is_same<decltype(test<T>(0)), found>::value
staticconstexpr

Static constexpr bool member that is true if the operator > is defined for type T.

Definition at line 178 of file type_traits.hpp.


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