OperatorScalarMultiplicationDivision< TS, S > Class Template Reference
|
CPP API
|
mio::OperatorScalarMultiplicationDivision< TS, S > Class Template Reference
base class to add operator *, *=, /, /= with a scalar to a class derived from TypeSafe. More...
#include <type_safe.h>
Public Member Functions | |
| TS | operator* (const S &other) const |
| TS & | operator*= (const S &other) |
| TS | operator/ (const S &other) const |
| TS & | operator/= (const S &other) |
Detailed Description
template<class TS, class S>
class mio::OperatorScalarMultiplicationDivision< TS, S >
base class to add operator *, *=, /, /= with a scalar to a class derived from TypeSafe.
- Template Parameters
-
TS Concrete class derived from TypeSafe S Type of the scalar, default underlying type of TS
Member Function Documentation
◆ operator*()
template<class TS , class S >
|
inline |
◆ operator*=()
template<class TS , class S >
|
inline |
◆ operator/()
template<class TS , class S >
|
inline |
◆ operator/=()
template<class TS , class S >
|
inline |
Generated by