Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::arithmetically_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 +=, -=, *= and /= expressions and if the return ...
Definition: operators.hpp:1286
Determines whether two types can be used in operator /= expressions and if the return type is convert...
Definition: operators.hpp:1120
Determines whether two types can be used in operator -= expressions and if the return type is convert...
Definition: operators.hpp:960
Determines whether two types can be used in operator *= expressions and if the return type is convert...
Definition: operators.hpp:1040
Determines whether two types can be used in operator += expressions and if the return type is convert...
Definition: operators.hpp:880

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