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

Determines whether a type can be used on both sides of operator +, -, *, /, +=, -=, *=, /= and unary - expressions and if the return types are convertible to the expected ones. More...

#include <operators.hpp>

Concept definition

template<class T, class TCombineResult std::remove_cvref_t<T>, class TAssignResult 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 +, -, * and / expressions and if the ...
Definition: operators.hpp:1262
Determines whether a type can be used on both sides of operator +, -, *, /, +=, -=,...
Definition: operators.hpp:1356
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 a type can be used on both sides of operator +, -, *, /, +=, -=, *=, /= and unary - expressions and if the return types are convertible to the expected ones.

Template Parameters
TThe type to check
TCombineResultThe expected return type of combining operations
TAssignResultThe expected return type of assigning operations