On Mon, Aug 10, 2020 at 06:58:52PM +0200, Richard Biener wrote: > We want to construct / destruct on push/pop, not on allocation. > We also want to use std::move upon reallocation (but then we can't use > realloc, can we?)
I guess so, but we could stop using xrealloc or ggc_realloc only for types which aren't trivially moveable using some template magic. Jakub