I wanted to have a vector<string> and a vector<double> in my class so I used forward declarations below:
class string; template <typename T> class vector;
But I recieve the error:
field 'varname' has incomplete type for both vector<string> and vector<double> variables.
I searched internet for this error but all the things I found was problems with user written classes not STLs'.