Boost logo

Boost :

From: Carlo Wood (carlo_at_[hidden])
Date: 2002-09-05 11:53:48


On Wed, Sep 04, 2002 at 03:47:50PM +0300, Peter Dimov wrote:
> > > extern "C" int demangle_type_impl(char const * type, char * out, size_t
> > > out_len, char * workarea, size_t workarea_len);
>
> 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.

Ok, I understand. But it would demand that I rewrite large pieces
of code. I feel there is no disadvantage to use a template parameter
for the demangler, so therefore I want to use that.

-- 
Carlo Wood <carlo_at_[hidden]>

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