Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment