New function: diagnostic_information_what.

[SVN r56448]
This commit is contained in:
Emil Dotchevski committed 2009-09-27 21:17:48 +00:00
1 parent 9683159e5c
commit c25d7d2ba0
12 files changed
+8429 -8023

No files matched your search

+4 -2
View File
@@ -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;