1 #ifndef CASM_support_container_stream_io
2 #define CASM_support_container_stream_io
10 std::istream &
operator>>(std::istream &_in, std::vector<T> &vec) {
12 std::getline(_in, line,
'\n');
13 std::stringstream tss(line);
26 ostream &
operator<<(ostream &out,
const vector<T> &vec) {
27 if (vec.size() == 0) out <<
"[empty] ";
28 for (
auto it = vec.cbegin(); it != vec.cend(); ++it) {
std::istream & operator>>(std::istream &_in, std::vector< T > &vec)
ostream & operator<<(ostream &out, const vector< T > &vec)