|
Boost : |
From: David Bergman (davidb_at_[hidden])
Date: 2002-08-30 12:31:19
What is the purpose of Boost.Demangle? I.e., why are we so worried about
performance (avoiding string copying and such)?
Is this library supposed to be used in deployed applications as a
crucial part of the actual program logic (i.e., in helping the developer
solving a business problem)?
I thought it was to be used for debugging and stack tracing.
/David
-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of Carlo Wood
Sent: Friday, August 30, 2002 11:57 AM
To: boost_at_[hidden]
Subject: Re: [boost] Re: [Libcwd-devel] libcwd and Boost
On Fri, Aug 30, 2002 at 11:42:37AM -0400, Rob Stewart wrote:
> That presumes the caller wants to create a string to pass to the
> function, of course. That same thing can be done like this:
>
> std::string out = "You are inside ";
> out += demangle(mangled_function_name);
But that would add an additional copy
of the demangled name.
-- Carlo Wood <carlo_at_[hidden]> _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk