Opened 8 years ago

#10764 new Bugs

current_exception_diagnostic_information returns an empty string if what returns an empty string.

Reported by: jonathan.lilliemarck@… Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

This happens when throwing standard exceptions such as std::runtime_error when an empty string passed to the constructor.

This is a problem with Boost 1.55 and some earlier versions but the code in 1.57 looks the same to me.

Attachments (1)

main.cpp (533 bytes ) - added by jonathan.lilliemarck@… 8 years ago.
Demonstrates a problem with current_exception_diagnostic_information.

Download all attachments as: .zip

Change History (1)

by jonathan.lilliemarck@…, 8 years ago

Attachment: main.cpp added

Demonstrates a problem with current_exception_diagnostic_information.

Note: See TracTickets for help on using tickets.