20 #ifndef BEAST_UTILITY_ZERO_H_INCLUDED
21 #define BEAST_UTILITY_ZERO_H_INCLUDED
44 explicit Zero() =
default;
48 static constexpr
Zero zero{};
60 namespace zero_helper {
104 template <
typename T>
111 template <
typename T>
121 template <
typename T>
128 template <
typename T>
135 template <
typename T>
142 template <
typename T>
149 template <
typename T>
156 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)