Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-18 15:36:17


From: <scleary_at_[hidden]>

>
> To make it more clear, let's talk interface: what Dave/I would like:
> std::string get_stack();
> not:
> try { ... } catch (const some_type & t) { t.get_stack(); }

Well, I'd be very happy to get back a richer data structure if it were
practical...

For memory tracing it's useful to get a sequence (array) of return
addresses which can be separately translated to a string (cuts down on the
intermediate storage required to represent the backtrace, and the time
required to hash it).

...but that's basically it.

-Dave


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