Added verbose parameter to boost::diagnostic_information.

[SVN r82179]
This commit is contained in:
Emil Dotchevski
2012-12-23 03:31:48 +00:00
parent 2ebfd49b4f
commit 9b100b0c9d
17 changed files with 3811 additions and 4014 deletions

View File

@ -25,8 +25,7 @@ boost
{
public:
virtual std::string tag_typeid_name() const = 0;
virtual std::string value_as_string() const = 0;
virtual std::string name_value_string() const = 0;
protected:
@ -63,8 +62,7 @@ boost
private:
std::string tag_typeid_name() const;
std::string value_as_string() const;
std::string name_value_string() const;
value_type value_;
};

View File

@ -467,7 +467,7 @@ boost
inline
std::string
diagnostic_information( exception_ptr const & p )
diagnostic_information( exception_ptr const & p, bool verbose=true )
{
if( p )
try
@ -477,7 +477,7 @@ boost
catch(
... )
{
return current_exception_diagnostic_information();
return current_exception_diagnostic_information(verbose);
}
return "<empty>";
}