On 11/04/18 10:58, Jonathan M Davis wrote:
All objects are initialized with their init values prior to the constructor
being called. So, whether an object is simply default-initialized or whether
the constructor is called, you're going to get the same behavior except for
the fact that the constructor would normally do further initialization
beyond the init value. As such, if there's a problem with the
default-initialized value, you're almost certainly going to get the same
problem when you call a constructor.

- Jonathan M Davis


That's horrible!

That means that constructor initialized objects, regardless of size, get initialized twice.

Shachar

Reply via email to