Subject: Re: [boost] [container] static_vector: fixed capacity vector update
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-02-01 13:53:30


Krzysztof Czainski wrote:
> Although, now that I think of 0-arg emplace_back(), that doesn't
> value-initialize types with a trivial constructor - does vector work like
> this too? If not, then it's a good argument towards the name varray ;-)

After some thinking we decided that elements should be initialized
because this is what the user probably expects. This is true for all
varray methods/ctors constructing values using default ctor. Please
check the newest version.
In the future we may allow disabling it e.g. by use of traits.

Regards,
Adam