WaveBlocksND
Main Page
Namespaces
Classes
Files
File List
File Members
userdata
raoulb
LWB
libwaveblocks
waveblocks
utilities
stdarray2stream.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <iostream>
4
#include <array>
5
6
7
namespace
std
{
8
template
<
class
T, std::
size_t
D>
9
std::ostream &operator<<(std::ostream &out, const std::array<T,D> &value)
10
{
11
out <<
'{'
;
12
for
(std::size_t i = 0; i < D; i++) {
13
if
(i != 0)
14
out <<
", "
;
15
out << value[i];
16
}
17
out <<
'}'
;
18
return
out;
19
}
20
}
std
Definition:
stdarray2stream.hpp:7
Generated on Tue Sep 20 2016 19:26:09 for WaveBlocksND by
1.8.11