Simple-Utility v2.3.1
Loading...
Searching...
No Matches
Arithmetic.hpp File Reference
Include dependency graph for Arithmetic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sl
 
namespace  sl::functional
 
namespace  sl::functional::arithmetic
 

Variables

constexpr auto sl::functional::arithmetic::plus
 Functional object which forwards the params to binary operator + and returns the result.
 
constexpr auto sl::functional::arithmetic::minus
 Functional object which forwards the params to binary operator - and returns the result.
 
constexpr auto sl::functional::arithmetic::multiplies
 Functional object which forwards the params to binary operator * and returns the result.
 
constexpr auto sl::functional::arithmetic::divides
 Functional object which forwards the params to binary operator / and returns the result.
 
constexpr auto sl::functional::arithmetic::modulus
 Functional object which forwards the params to binary operator % and returns the result.
 
constexpr auto sl::functional::arithmetic::negate
 Functional object which forwards the param to unary operator - and returns the result.