: Basic operator for (C++11) std::array More...
Go to the source code of this file.
Functions | |
template<class T , size_t d> | |
Logger & | bitpit::operator<< (Logger &, const std::array< T, d > &) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator* (const std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > | operator* (const std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator* (const std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator* (const T &x, const std::array< std::array< T, e >, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator* (const T &x, const std::array< T, d > &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > & | operator*= (std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator*= (std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator*= (std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator+ (const std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > | operator+ (const std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator+ (const std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator+ (const T &x, const std::array< std::array< T, e >, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator+ (const T &x, const std::array< T, d > &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > & | operator+= (std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator+= (std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator+= (std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator- (const std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > | operator- (const std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator- (const std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator- (const T &x, const std::array< std::array< T, e >, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator- (const T &x, const std::array< T, d > &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > & | operator-= (std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator-= (std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator-= (std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator/ (const std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > | operator/ (const std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator/ (const std::array< T, d > &x, const T &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > | operator/ (const T &x, const std::array< std::array< T, e >, d > &y) |
template<class T , size_t d> | |
std::array< T, d > | operator/ (const T &x, const std::array< T, d > &y) |
template<class T , size_t d, size_t e> | |
std::array< std::array< T, e >, d > & | operator/= (std::array< std::array< T, e >, d > &x, const T &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator/= (std::array< T, d > &x, const std::array< T, d > &y) |
template<class T , size_t d> | |
std::array< T, d > & | operator/= (std::array< T, d > &x, const T &y) |
template<class T , size_t d> | |
std::ofstream & | display (std::ofstream &out, const std::array< T, d > &x, unsigned int padding) |
template<class T , size_t d> | |
std::ostream & | display (std::ostream &out, const std::array< T, d > &x, unsigned int padding) |
template<class T , size_t d> | |
std::ofstream & | operator<< (std::ofstream &out, const std::array< T, d > &x) |
template<class T , size_t d> | |
std::ostream & | operator<< (std::ostream &out, const std::array< T, d > &x) |
template<class T , size_t d> | |
std::ifstream & | operator>> (std::ifstream &in, std::array< T, d > &x) |
template<class T , size_t d> | |
std::istream & | operator>> (std::istream &in, std::array< T, d > &x) |
: Basic operator for (C++11) std::array
Definition in file Operators_array.tpp.
Logger & bitpit::operator<< | ( | Logger & | out, |
const std::array< T, d > & | x ) |
Insertion operator for std::array.
Flush the content of std::array to std::ofstream. The content of the input array is flushed with the following format: x[0] x[1] x[2] ... x[d-1] where d = x.size(); (i.e. array elements are separated by blank spaces). Template parameter T can be any type such that operator<< is defined.
[in,out] | out | output file stream |
[in] | x | argument of insertion operator |
Definition at line 1408 of file Operators_array.tpp.