indentlog: refactor: move stream-inserters to print/ subdir

This commit is contained in:
Roland Conybeare 2023-09-18 13:29:04 -04:00
commit efe207a4de
19 changed files with 9 additions and 9 deletions

View file

@ -1,28 +0,0 @@
/* file vector.hpp
*
* author: Roland Conybeare, Sep 2022
*/
#pragma once
#include <iostream>
#include <vector>
namespace std {
template<typename T>
inline std::ostream &
operator<<(std::ostream & os,
std::vector<T> const & v)
{
os << "[";
for(size_t i=0, z=v.size(); i<z; ++i) {
if(i > 0)
os << " ";
os << v[i];
}
os << "]";
return os;
} /*operator<<*/
} /*namespace std*/
/* end vector.hpp */