I am doing coding in c++ using vectors.
I have used 2 calling functions:
virtual std::vector<tab le1>getText(std ::string);
virtual std::vector<tab le2>getText(std ::string);
As you can see, the name of the function, number and type of parameters are same. However the name of the table is different.
In spite of that I get errors that:
error: conflicting declaration std::vector<tab le1>,std::vecto r<table2>.
Could someone help me out?
I have used 2 calling functions:
virtual std::vector<tab le1>getText(std ::string);
virtual std::vector<tab le2>getText(std ::string);
As you can see, the name of the function, number and type of parameters are same. However the name of the table is different.
In spite of that I get errors that:
error: conflicting declaration std::vector<tab le1>,std::vecto r<table2>.
Could someone help me out?
Comment