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

Determines whether two types can be used in operator +, -, *, /, +=, -=, *=, /= and unary - expressions and if the return types are convertible to the expected ones. More...

#include <operators.hpp>

Concept definition

template<class TLhs, class TRhs, class TCombineResult std::remove_cvref_t<TLhs>, class TAssignResult 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 +, -, * and / expressions and if the return type...
Definition: operators.hpp:1240
Determines whether two types can be used in operator +, -, *, /, +=, -=, *=, /= and unary - expressio...
Definition: operators.hpp:1335
Determines whether a type can be used in operator - expression and if the return type is convertible ...
Definition: operators.hpp:816

Detailed Description

Determines whether two types can be used in operator +, -, *, /, +=, -=, *=, /= and unary - expressions and if the return types are convertible to the expected ones.

Template Parameters
TLhsThe left-hand-side type
TRhsthe right-hand-side-type
TCombineResultThe expected return type of combining operations
TAssignResultThe expected return type of assigning operations