Boost logo

Boost :

Subject: Re: [boost] [GIL] Can image::recreate reuse the memory?
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-04-13 17:48:27


>
> I'd expect image::recreate to reuse the memory much like
> std::vector::resize, but looked into the code shows that it creates a new
> one and swaps...
>
> So, is there a way to 'resize' the image without reallocating if the
> internal memory is sufficient?
>

I afraid there is not a way right now. Do you have a quick fix or would
such behavior be more complicated?

Regards,
Christian


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