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

Determines whether two types can be used in operator &=, |= and ^= 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 convert...
Definition: operators.hpp:387
Determines whether two types can be used in operator |= expressions and if the return type is convert...
Definition: operators.hpp:467
Determines whether two types can be used in operator ^= expressions and if the return type is convert...
Definition: operators.hpp:547
Determines whether two types can be used in operator &=, |= and ^= expressions and if the return type...
Definition: operators.hpp:628

Detailed Description

Determines whether two types can be used in operator &=, |= and ^= 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