Let
class Customer
{
private:
long id;
string name;
public:
...
};
be part of a class definition.
What is wrong with the following constructors ?
Customer () { id(0); name(''X''); }
Customer () ( long n, const string& s) : id(s), name(n) { }
Does anyone know this?