Literally, the question is "Define the constructor for class Z". Help me figure out what exactly needs to be implemented? Well, the type constructor of the class Z already has something missing? It is important for me to understand what is required and how to implement it so that in the future I myself could solve such problems.
class A { public: A ( int a ) { aa_ = a; } private: int aa_; }; class Z { public: Z(); private: const int & r_; const int i_; A a_; };
Zyet. So far you only have an ad . - AnT