indentlog: refactor: move stream-inserters to print/ subdir
This commit is contained in:
parent
5c60277610
commit
efe207a4de
19 changed files with 9 additions and 9 deletions
|
|
@ -1,25 +0,0 @@
|
|||
/* @file array.hpp */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <array>
|
||||
|
||||
namespace std {
|
||||
template<typename T, size_t N>
|
||||
inline std::ostream &
|
||||
operator<<(std::ostream & os,
|
||||
std::array<T, N> const & v)
|
||||
{
|
||||
os << "[";
|
||||
for(size_t i = 0; i < N; ++i) {
|
||||
if(i > 0)
|
||||
os << " ";
|
||||
os << v[i];
|
||||
}
|
||||
os << "]";
|
||||
return os;
|
||||
} /*operator<<*/
|
||||
} /*namespace std*/
|
||||
|
||||
/* end array.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue