Boost logo

Boost :

Subject: Re: [boost] tcmalloc and boost::diagnostic_information
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-06-14 19:56:11


On Mon, Jun 14, 2010 at 12:12 PM, Andrey Semashev
<andrey.semashev_at_[hidden]> 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_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk