
12 Feb
2013
12 Feb
'13
10:54 p.m.
On 12 February 2013 16:22, Krzysztof Czainski <1czajnik@gmail.com> wrote:
If emplace_back() didn't zero-initialize PODs, it would be inconsistent with std containers,
Please be precise; it is only inconsistent with the standard containers when using the default argument for the allocator (aka std::allocator). The standard containers, at least in C++11, have no embedded knowledge on how to construct/destroy their elements; they merely delegate that functionality off to the allocator. -- Nevin ":-)" Liber <mailto:nevin@eviloverlord.com> (847) 691-1404