forked from boostorg/exception
New function: diagnostic_information_what.
[SVN r56448]
This commit is contained in:
1 parent
9683159e5c
commit
c25d7d2ba0
12 files changed
+8429
-8023
No files matched your search
@@ -98,11 +98,13 @@ boost
|
||||
}
|
||||
|
||||
char const *
|
||||
diagnostic_information() const
|
||||
diagnostic_information( char const * header ) const
|
||||
{
|
||||
if( diagnostic_info_str_.empty() )
|
||||
if( header )
|
||||
{
|
||||
BOOST_ASSERT(*header!=0);
|
||||
std::ostringstream tmp;
|
||||
tmp << header;
|
||||
for( error_info_map::const_iterator i=info_.begin(),end=info_.end(); i!=end; ++i )
|
||||
{
|
||||
shared_ptr<error_info_base const> const & x = i->second;
|
||||
|
||||
Reference in new issue
Block a user