Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-09-04 07:47:50


From: "Carlo Wood" <carlo_at_[hidden]>
> > What is wrong with the "to the metal"
> >
> > extern "C" int demangle_type_impl(char const * type, char * out, size_t
> > out_len, char * workarea, size_t workarea_len);
> >
> > + C++ style "for the rest of us"
> >
> > std::string demangle_type(std::string type);
>
> Well, you can't specify the (internal) allocator for one thing.
> It was a demand that that is possible.

I am "overspecifying" the internal allocator. demangle_type_impl must
operate only within [out, out + out_len), [workarea, workarea +
workarea_len). No other allocations are permitted. This seems strict enough
for use within malloc etc.


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