forked from boostorg/exception
Improved to_string(std::pair) support.
[SVN r79252]
This commit is contained in:
1 parent
e25f33aaf6
commit
9508b38e22
2 files changed
+13
No files matched your search
@@ -101,6 +101,14 @@ boost
|
||||
{
|
||||
return exception_detail::to_string_dispatch::dispatch(x,s);
|
||||
}
|
||||
|
||||
template <class T,class U,class Stub>
|
||||
inline
|
||||
std::string
|
||||
to_string_stub( std::pair<T,U> const & x, Stub s )
|
||||
{
|
||||
return std::string("(") + to_string_stub(x.first,s) + ',' + to_string_stub(x.second,s) + ')';
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
|
||||
|
||||
Reference in new issue
Block a user