24 #ifndef GUL14_UTILITY_H_
25 #define GUL14_UTILITY_H_
63 template <std::
size_t I>
67 template <std::
size_t I>
73 inline constexpr
bool operator>(monostate, monostate) noexcept {
return false; }
74 inline constexpr
bool operator<=(monostate, monostate) noexcept {
return true; }
75 inline constexpr
bool operator>=(monostate, monostate) noexcept {
return true; }
76 inline constexpr
bool operator==(monostate, monostate) noexcept {
return true; }
77 inline constexpr
bool operator!=(monostate, monostate) noexcept {
return false; }
93 using result_type = std::size_t;
95 inline result_type operator()(
const argument_type&)
const noexcept
Namespace gul14 contains all functions and classes of the General Utility Library.
Definition: doxygen.h:26
A type for constructor disambiguation.
Definition: utility.h:64
A type for constructor disambiguation, used by gul14::expected, gul14::optional, and gul14::variant.
Definition: utility.h:42
A type for constructor disambiguation.
Definition: utility.h:54
A well-behaved empty type for use with gul14::variant and gul14::expected.
Definition: utility.h:71