Boost logo

Boost :

Subject: Re: [boost] [xint] Fourth release, requesting preliminary review again
From: Marius Stoica (letto2_at_[hidden])
Date: 2010-06-04 12:00:56


On Friday 04 June 2010 16:37:13 Chad Nelson wrote:
> It's possible for a few of the primitives and more basic functions, but
> anything that has to allocate a temporary integer_t needs the full-fat
> version, or it won't know how to allocate and deallocate it properly.
> Someone using the library for a security program would be put out to
> discover that temporary variables ignored his stated allocator and
> Secure preference, for instance.

Isn't it possible to have a pointer to a function that does
allocation/dealocation and is instantiated separately?
And keep the pointer in data_t ?


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