Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::logically_assignable_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:406
Determines whether a type can be used on both sides of operator |= expressions and if the return type...
Definition: operators.hpp:486
Determines whether a type can be used on both sides of operator ^= expressions and if the return type...
Definition: operators.hpp:566
Determines whether a type can be used on both sides of operator &=, |= and ^= expressions and if the ...
Definition: operators.hpp:648

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