20 #ifndef BEAST_UTILITY_ZERO_H_INCLUDED
21 #define BEAST_UTILITY_ZERO_H_INCLUDED
44 explicit Zero() =
default;
48 static constexpr
Zero zero{};
59 namespace zero_helper {
104 template <
typename T>
113 template <
typename T>
119 template <
typename T>
125 template <
typename T>
131 template <
typename T>
137 template <
typename T>
143 template <
typename T>
auto signum(T const &t)
Default implementation of signum calls the method on the class.
bool operator==(LockFreeStackIterator< Container, LhsIsConst > const &lhs, LockFreeStackIterator< Container, RhsIsConst > const &rhs)
bool operator<=(SemanticVersion const &lhs, SemanticVersion const &rhs)
bool operator>(SemanticVersion const &lhs, SemanticVersion const &rhs)
bool operator>=(SemanticVersion const &lhs, SemanticVersion const &rhs)
bool operator!=(LockFreeStackIterator< Container, LhsIsConst > const &lhs, LockFreeStackIterator< Container, RhsIsConst > const &rhs)
Zero allows classes to offer efficient comparisons to zero.
auto call_signum(T const &t)
bool operator<(SemanticVersion const &lhs, SemanticVersion const &rhs)