Commit 1da4df84 authored by Martin Marinov's avatar Martin Marinov
Browse files

Moved the Debug::Stream operator for std::pair<> to DebOut.hh

[git-p4: depot-paths = "//ReForm/ReForm/main/Base/": change = 12332]
parent 0d9f8990
......@@ -209,6 +209,14 @@ Stream& operator<<(Stream& _ds, const ElementT(&_arr)[_el_nmbr])
return _ds;
}
// Stream std::pair<>
template <typename T0, typename T1>
Stream& operator<<(Stream& _ds, const std::pair<T0, T1>& _pair)
{
_ds << "(" << _pair.first << ", " << _pair.second << ")";
return _ds;
}
}//namespace
#endif // DEB_out_INCLUDED
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment