0

Why is constructor initializer lists faster and easier to use rather than assigning the variable inside the constructor’s body.

  • 1
    Members are default initialized and then copy constructed when assigning inside ctor's body. – Ch3steR Jan 02 '22 at 04:26
  • Related: [Why should I prefer to use member initialization lists?](https://stackoverflow.com/q/926752) – Ch3steR Jan 02 '22 at 04:36

0 Answers0