1

enter image description here

How do I declare a delegate constructor?

Please tell me how to declare a delegation constructor in a version other than C++11.

  • Please, don't include images of source code but paste the source code as text. – Scheff's Cat Jan 06 '23 at 10:08
  • 1
    Switch to C++11? It's 2023. – Quimby Jan 06 '23 at 10:09
  • What version of gcc do you use? Please, [edit] your question and add the output of `gcc --version`. – Scheff's Cat Jan 06 '23 at 10:09
  • Does this answer your question? [Can I call a constructor from another constructor (do constructor chaining) in C++?](https://stackoverflow.com/questions/308276/can-i-call-a-constructor-from-another-constructor-do-constructor-chaining-in-c) – sklott Jan 06 '23 at 10:09
  • From [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask): "_**DO NOT post images of code, data, error messages, etc.** - copy or type the text into the question_" – Ted Lyngmo Jan 06 '23 at 10:12
  • It is not "only in C++11", it is "C++11 or later". Before C++11 it just didn't exist. – BoP Jan 06 '23 at 10:20

0 Answers0