MADNESS 0.10.1
Classes | Functions
madness::operators Namespace Reference

Classes

class  __x
 

Functions

std::ostream & operator<< (std::ostream &, const __x &)
 
template<typename T , std::size_t N>
std::ostream & operator<< (std::ostream &s, const std::array< T, N > &a)
 Output std::array to stream for human consumption.
 
template<typename T >
std::ostream & operator<< (std::ostream &s, const std::complex< T > &c)
 Easy printing of complex numbers.
 
template<typename T >
std::ostream & operator<< (std::ostream &s, const std::list< T > &c)
 Easy printing of lists.
 
template<typename T , typename U >
std::ostream & operator<< (std::ostream &s, const std::pair< T, U > &p)
 Easy printing of pairs.
 
template<typename T >
std::ostream & operator<< (std::ostream &s, const std::vector< T > &c)
 Easy printing of vectors.
 
template<typename T , std::size_t N>
std::enable_if<!std::is_same< T, char >::value, std::ostream & >::type operator<< (std::ostream &s, const T(&v)[N])
 Easy printing of fixed dimension arrays.
 
std::ostream & operator>> (std::ostream &, __x &)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream & madness::operators::operator<< ( std::ostream &  ,
const __x  
)

◆ operator<<() [2/2]

template<typename T , std::size_t N>
std::ostream & madness::operators::operator<< ( std::ostream &  s,
const std::array< T, N > &  a 
)

Output std::array to stream for human consumption.

Template Parameters
TThe type of data stored in the array.
NThe size of the array.
Parameters
[in,out]sThe output stream.
[in]aThe array to be output.
Returns
The output stream.

References a, and N.

Referenced by madness::operator<<().

◆ operator>>()

std::ostream & madness::operators::operator>> ( std::ostream &  ,
__x  
)