123
error: qualified reference to 'Product' is a constructor name rather than a type wherever a constructor can be declared Product::Product& operator= (const Product& p)
12
// Product::Product& operator= (const Product& p) { /* ... */ } Product& Product::operator= (const Product& p) { /* ... */ }