Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::arithmetically_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 +=, -=, *= and /= expressions and if ...
Definition: operators.hpp:1308
Determines whether a type can be used on both sides of operator /= expressions and if the return type...
Definition: operators.hpp:1139
Determines whether a type can be used on both sides of operator -= expressions and if the return type...
Definition: operators.hpp:979
Determines whether a type can be used on both sides of operator *= expressions and if the return type...
Definition: operators.hpp:1059
Determines whether a type can be used on both sides of operator += expressions and if the return type...
Definition: operators.hpp:899

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