When generating a new instance of a class, do the constructors of all private members are called automatically? And what about the case I want to call a non default constructor?
Thanks.Code:class Something
{
private:
YOYO yoyo; //default constructor called automatically?
YOYO yoyo2(int num); //Possible? if not, what's the right way?
};