Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::arithmetically_combinable_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 the ...
Definition: operators.hpp:1262
Determines whether a type can be used on both sides of operator / expressions and if the return type ...
Definition: operators.hpp:1099
Determines whether a type can be used on both sides of operator - expressions and if the return type ...
Definition: operators.hpp:939
Determines whether a type can be used on both sides of operator * expressions and if the return type ...
Definition: operators.hpp:1019
Determines whether a type can be used on both sides of operator + expressions and if the return type ...
Definition: operators.hpp:859

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