QuantForcesquant interview practice

DN_S24_Q016. Member initialization list

difficulty 1300·answer type: explanation·Not solved

Problem

C++ constructors support the initialization of members data via an initializer list. When is this preferable to initialization inside the body of the constructor?

Submit answer

You must be signed in to submit answers.