Template Function intnat::operator<<

Function Documentation

template<typename T>
std::ostream &intnat::operator<<(std::ostream &os, const std::vector<T> &v)

Streams the contents of a std::vector as “[ v0 v1 … ]”, provided T has a stream operator<<.

Parameters
  • os – is the output stream.

  • v – is the vector to print.

Returns

the output stream.