ORIGINAL
Loading...
Searching...
No Matches
original::WeaklyOrdered Concept Reference

Requires type to support relational comparison operators. More...

#include <types.h>

Concept definition

template<typename T>
concept original::WeaklyOrdered = requires(const T& a, const T& b) {
{ a < b } -> std::convertible_to<bool>;
{ a <= b } -> std::convertible_to<bool>;
{ a > b } -> std::convertible_to<bool>;
{ a >= b } -> std::convertible_to<bool>;
}
Unique ownership smart pointer with move semantics.
Definition ownerPtr.h:37
Requires type to support relational comparison operators.
Definition types.h:108

Detailed Description

Requires type to support relational comparison operators.

Template Parameters
TThe type to check.

Enforces that the type provides relational operators (<, <=, >, >=).