hownot2code.com
How to properly call one constructor from another
Constructor can’t simply be called like an ordinary function. If we write “A::A(int x) { A(); }”, it will lead to creating a temporary unnamed object of the A type, instead of cal…