Syntx for a few delegating constructors in one constructor, whille makeing a class i find the need of a few delegating constructors in one constructor this is the sample code :
PacMan::PacMan()
: PacIB(CloseI, 6) /*Whatever syntx */ pacVB(CloseP, sizeof(CloseP);
{
open = false;
}
im very suprised that none of the online articals i looked in haven't included an example of such a case, is it even some you can do ?
Aucun commentaire:
Enregistrer un commentaire