Hello,
I get this error,
error: no matching function for call to ‘A::a(std::string&)’
note: candidates are: static D* A::a(std::istream&)
I am calling this function like this
D *d = A::a(filename);
Note that the function signature is like this
static D *a(istream &s);
What is wrong and who to call this function
Regards
You are right. the mismatch came from string and istream classes.
Thanks