Loading...
Searching...
No Matches
Functions
Operators_array.tpp File Reference

: Basic operator for (C++11) std::array More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T , size_t d>
Loggerbitpit::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)
 

Detailed Description

: Basic operator for (C++11) std::array

Author
: Alessandro Alaia

Definition in file Operators_array.tpp.

Function Documentation

◆ operator<<()

template<class T , size_t d>
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.

Parameters
[in,out]outoutput file stream
[in]xargument of insertion operator
Returns
reference to the stream (allows concatenation)

Definition at line 1408 of file Operators_array.tpp.

--- layout: doxygen_footer ---