mercredi 22 août 2018

What does :classname() mean in a constructor for className?

I see some code in a codebase I'm working on that looks like:

 ZfooName::ZfooName(int magoo)
    : ZfooName()
 {
    fGoo = magoo;
 }

I'm assuming this is C++11 feature, since it breaks in VS2012, but what does it mean?

Aucun commentaire:

Enregistrer un commentaire