#include <cassert>
#include <vector>
#include <map>
Go to the source code of this file.
|
template<typename T > |
std::vector< T > | operator+ (const std::vector< T > &x1, const std::vector< T > &x2) |
|
template<typename T > |
std::vector< T > | operator- (const std::vector< T > &x1, const std::vector< T > &x2) |
|
template<typename T1 , typename T2 > |
std::map< T1, T2 > | operator+ (const std::map< T1, T2 > &x1, const std::map< T1, T2 > &x2) |
|
template<typename T1 , typename T2 > |
std::map< T1, T2 > | operator- (const std::map< T1, T2 > &x1, const std::map< T1, T2 > &x2) |
|
template<typename T1 , typename T2 > |
std::vector< T2 > | operator* (const T1 &x1, const std::vector< T2 > &x2) |
|
template<typename T1 , typename T21 , typename T22 > |
std::map< T21, T22 > | operator* (const T1 &x1, const std::map< T21, T22 > &x2) |
|
◆ operator*() [1/2]
template<typename T1 , typename T21 , typename T22 >
std::map< T21, T22 > operator* |
( |
const T1 & |
x1, |
|
|
const std::map< T21, T22 > & |
x2 |
|
) |
| |
◆ operator*() [2/2]
template<typename T1 , typename T2 >
std::vector< T2 > operator* |
( |
const T1 & |
x1, |
|
|
const std::vector< T2 > & |
x2 |
|
) |
| |
◆ operator+() [1/2]
template<typename T1 , typename T2 >
std::map< T1, T2 > operator+ |
( |
const std::map< T1, T2 > & |
x1, |
|
|
const std::map< T1, T2 > & |
x2 |
|
) |
| |
◆ operator+() [2/2]
std::vector< T > operator+ |
( |
const std::vector< T > & |
x1, |
|
|
const std::vector< T > & |
x2 |
|
) |
| |
◆ operator-() [1/2]
template<typename T1 , typename T2 >
std::map< T1, T2 > operator- |
( |
const std::map< T1, T2 > & |
x1, |
|
|
const std::map< T1, T2 > & |
x2 |
|
) |
| |
◆ operator-() [2/2]
std::vector< T > operator- |
( |
const std::vector< T > & |
x1, |
|
|
const std::vector< T > & |
x2 |
|
) |
| |