Let's say I have an object I would like to initialize to 0 in the constructor. Every bit that the instanced object occupies should be 0 without exception, including all non-POD members, ignoring their personal default constructors completely.
Is this possible in C++? And if so, is there a way this can be done that is at least as fast as initializing each member to 0 through an initialization list (when allowed)?
(there's obvious pitfalls but I'm curious; please assume I have a not-awful reason!)