Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::logically_combinable_with_r Concept Reference

Determines whether two types can be used in operator &, | amd ^ expressions and if the return type is convertible to the expected one. More...

#include <operators.hpp>

Concept definition

template<class TLhs, class TRhs, class TResult std::remove_cvref_t<TLhs>>
Determines whether two types can be used in operator & expressions and if the return type is converti...
Definition: operators.hpp:347
Determines whether two types can be used in operator | expressions and if the return type is converti...
Definition: operators.hpp:427
Determines whether two types can be used in operator ^ expressions and if the return type is converti...
Definition: operators.hpp:507
Determines whether two types can be used in operator &, | amd ^ expressions and if the return type is...
Definition: operators.hpp:586

Detailed Description

Determines whether two types can be used in operator &, | amd ^ expressions and if the return type is convertible to the expected one.

Template Parameters
TLhsThe left-hand-side type
TRhsthe right-hand-side-type
TResultThe expected return type