rstd 0.1.0
Loading...
Searching...
No Matches
rstd::mtp::equalable Concept Referenceexport
module rstd.basic

Satisfied when T and U can be compared with == and !=. More...

Concept definition

template<typename T, typename U>
concept rstd::mtp::equalable = requires(const T& a, const U& b) {
{ a == b } -> convertible_to<bool>;
{ a != b } -> convertible_to<bool>;
}
Satisfied when From is implicitly and explicitly convertible to To.
Definition mtp.cppm:382
Satisfied when T and U can be compared with == and !=.
Definition mtp.cppm:387

Detailed Description

Satisfied when T and U can be compared with == and !=.