On Mon, Jul 21, 2014 at 5:22 AM, Roman Gareev <gareevro...@gmail.com> wrote: > Dear gcc contributors, > > could you please answer a few questions about the implementation of > vec.h? Should we always use “create” to initialize, for example, > vec<tree_node*> or is it possible to do it using “safe_grow_cleared” > or a similar function? There is "vec_safe_grow_cleared", which works > with vec<T, A, vl_embed>. Is there a way to use it with > vec<tree_node*>?
Yes, you need to use .create() to initialize vec instances. Diego.