
On Mon, Jun 14, 2010 at 12:12 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
On 14.06.2010 20:59, Steven Watanabe wrote:
AMDG
Emil Dotchevski wrote:
On Sun, Jun 13, 2010 at 9:04 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
P.S. Why is boost::exception calling into boost::units::detail? Should I push demangle into boost::detail?
Good idea, though I wouldn't mind an official demangling Boost library -- why do you think it should be in ::detail?
Because making it an official library would require more effort than I'm willing expend on it at the moment.
FWIW, in Boost.Log I implemented type_info_wrapper which provides similar functionality. I'd be happy to extract it to Boost.Utility or a separate library if there's enough interest.
I think that demangling should be separate from any type info functionality. It should be a function that takes a string and returns a string, just like it is done in the units library's detail header I hijacked. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode