NTB++
NTB++ is a cross-platform header-only utility library for C++ >= 17
|
Functions | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, const Vector< T > &v) |
template<typename T , typename U > | |
std::ostream & | operator<< (std::ostream &os, const MapOf< T, U > &v) |
std::ostream & Ntb::Templates::operator<< | ( | std::ostream & | os, |
const MapOf< T, U > & | v | ||
) |
Overloads the '<<' cout operator to recognize maps.
Prints a newline for all elements but the last.
The | map of type <T,U>. |
std::ostream & Ntb::Templates::operator<< | ( | std::ostream & | os, |
const Vector< T > & | v | ||
) |
Overloads the '<<' cout operator to recognize vectors.
The | vector of type <T>. |