forked from boostorg/exception
Added verbose parameter to boost::diagnostic_information.
[SVN r82179]
This commit is contained in:
@ -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_;
|
||||
};
|
||||
|
@ -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>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user