#include <functional>
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.H"
Go to the source code of this file.
|
template<class C > |
C | operatorOp (const C &c1, const C &c2, C &(C::*op)(const C &)) |
|
template<class C > |
C | operatorOpScalar (const C &c1, const typename C::scalar_type &x, C &(C::*op)(const typename C::scalar_type &)) |
|
template<class C > |
C::self_type | operator+ (const C &c1, const C &c2) |
|
template<class C > |
C::self_type | operator- (const C &c1, const C &c2) |
|
template<class C > |
C::self_type | operator* (const C &c1, const C &c2) |
|
template<class C > |
C::self_type | operator/ (const C &c1, const C &c2) |
|
template<class C > |
C::self_type | operator+ (const C &c, const typename C::scalar_type &x) |
|
template<class C > |
C::self_type | operator+ (const typename C::scalar_type &x, const C &c) |
|
template<class C > |
C::self_type | operator* (const C &c, const typename C::scalar_type &x) |
|
template<class C > |
C::self_type | operator* (const typename C::scalar_type &x, const C &c) |
|
template<class C > |
C::self_type | operator- (const C &c, const typename C::scalar_type &x) |
|
template<class C > |
C::self_type | operator- (const typename C::scalar_type &x, const C &c) |
|
template<class C > |
C::self_type | operator/ (const C &c, const typename C::scalar_type &x) |
|
template<class C > |
C::self_type | operator/ (const typename C::scalar_type &x, const C &c) |
|
◆ _GENERICARITHMETICI_H_
#define _GENERICARITHMETICI_H_ |
◆ operatorOp()
template<class C >
C operatorOp |
( |
const C & |
c1, |
|
|
const C & |
c2, |
|
|
C &(C::*)(const C &) |
op |
|
) |
| |
◆ operatorOpScalar()
template<class C >
C operatorOpScalar |
( |
const C & |
c1, |
|
|
const typename C::scalar_type & |
x, |
|
|
C &(C::*)(const typename C::scalar_type &) |
op |
|
) |
| |
◆ operator+() [1/3]
template<class C >
C::self_type operator+ |
( |
const C & |
c1, |
|
|
const C & |
c2 |
|
) |
| |
◆ operator-() [1/3]
template<class C >
C::self_type operator- |
( |
const C & |
c1, |
|
|
const C & |
c2 |
|
) |
| |
◆ operator*() [1/3]
template<class C >
C::self_type operator* |
( |
const C & |
c1, |
|
|
const C & |
c2 |
|
) |
| |
◆ operator/() [1/3]
template<class C >
C::self_type operator/ |
( |
const C & |
c1, |
|
|
const C & |
c2 |
|
) |
| |
◆ operator+() [2/3]
template<class C >
C::self_type operator+ |
( |
const C & |
c, |
|
|
const typename C::scalar_type & |
x |
|
) |
| |
◆ operator+() [3/3]
template<class C >
C::self_type operator+ |
( |
const typename C::scalar_type & |
x, |
|
|
const C & |
c |
|
) |
| |
◆ operator*() [2/3]
template<class C >
C::self_type operator* |
( |
const C & |
c, |
|
|
const typename C::scalar_type & |
x |
|
) |
| |
◆ operator*() [3/3]
template<class C >
C::self_type operator* |
( |
const typename C::scalar_type & |
x, |
|
|
const C & |
c |
|
) |
| |
◆ operator-() [2/3]
template<class C >
C::self_type operator- |
( |
const C & |
c, |
|
|
const typename C::scalar_type & |
x |
|
) |
| |
◆ operator-() [3/3]
template<class C >
C::self_type operator- |
( |
const typename C::scalar_type & |
x, |
|
|
const C & |
c |
|
) |
| |
◆ operator/() [2/3]
template<class C >
C::self_type operator/ |
( |
const C & |
c, |
|
|
const typename C::scalar_type & |
x |
|
) |
| |
◆ operator/() [3/3]
template<class C >
C::self_type operator/ |
( |
const typename C::scalar_type & |
x, |
|
|
const C & |
c |
|
) |
| |