What is constructor delegation?
Show answer and explanation
Constructor delegation lets one constructor call another constructor of the same class in its initializer list. The target constructor initializes the object first, after which the delegating constructor's body runs; delegation cannot be mixed with other member initializers.
Constructor delegation lets one constructor call another constructor of the same class in its initializer list. The target constructor initializes the object first, after which the delegating constructor's body runs; delegation cannot be mixed with other member initializers.
Connect the conclusion directly to the type, lifetime, ownership, overload-resolution rule, or library contract present in the question. State implementation dependence or a violated precondition explicitly instead of merely guessing output.