The Numbers class provides functions for manipulating numbers. More...
Header: | #include <Numbers> |
T | add(T a, T b) |
auto | add(int a, int b) |
auto | adder(ThisIsMyReallyLongAndComplicatedTemplateName a, int b) |
auto | number() const |
void | setNumber(int number) |
auto | subtract(int a, int b) |
Adds two numbers of the same underlying type.
Returns a value containing the sum of a and b.
Adds two numbers.
Returns an integer containing the sum of a and b.
Adds two numbers of the same underlying type.
Returns a value containing the sum of a and b.
Returns the number.
Returns the number, whatever it may be.
See also setNumber().
Sets the number.
Sets the number to number, and expects nothing more.
See also number().
Subtracts two numbers.
Returns an integer containing the difference of a and b.