Closed wichtounet closed 11 years ago
Allow code of this form:
Complex a; //... Complex b = a;
Resolved by calling a copy constructor. The copy constructor is generated by the compiler if there are no other defined constructors
Allow code of this form:
Complex a; //... Complex b = a;