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

Determines whether a type can be used on both sides of operator &, | and ^ expressions and if the return type is convertible to the expected one. More...

#include <operators.hpp>

Concept definition

template<class T, class TResult std::remove_cvref_t<T>>
Determines whether a type can be used on both sides of operator & expressions and if the return type ...
Definition: operators.hpp:366
Determines whether a type can be used on both sides of operator | expressions and if the return type ...
Definition: operators.hpp:446
Determines whether a type can be used on both sides of operator ^ expressions and if the return type ...
Definition: operators.hpp:526
Determines whether a type can be used on both sides of operator &, | and ^ expressions and if the ret...
Definition: operators.hpp:606

Detailed Description

Determines whether a type can be used on both sides of operator &, | and ^ expressions and if the return type is convertible to the expected one.

Template Parameters
TThe type to check
TResultThe expected return type