Boost logo

Boost :

Subject: [boost] [GIL] Can image::recreate reuse the memory?
From: TONGARI (tongari95_at_[hidden])
Date: 2013-04-13 12:37:50


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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at