13.8 — Overlapping and delegating constructors
When you instantiate a new object, the object’s constructor is called implicitly. It’s not uncommon to have a class with multiple constructors that have overlapping functionality. Consider the following class: class Foo { public: Foo() { // code to do A } Foo(int value) { // code to do A …