|
Boost Users : |
Subject: Re: [Boost-users] Strange output from boost::exception diagnostic_information
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-01-31 13:37:08
On Sun, Jan 31, 2010 at 4:41 AM, pholding <pholding_at_[hidden]> wrote:
> Throw in function (unknown)
> Dynamic exception type: N5boost16exception_detail19error_info_injectorISt1
> 1range_errorEE
> std::exception::what: blah
Your code is correct and the output is correct too. The weird type
name you're seeing is the mangled C++ identifier, see
http://en.wikipedia.org/wiki/Name_mangling#Name_mangling_in_C.2B.2B.
Note that by design, the diagnostic_information message is not
intended to be user-friendly. However I will accept any patches that
improve the output from diagnostic_information, not only in terms of
prettifying the mangled names but also including more diagnostic
information, even if it is platform-specific.
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net