Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What is the difference between default initialization and value initialization in C++? When is each one called, and what is the best method for reliably initializing a member with a template type?