J
Joseph Turian
In a class templatized by class T, I have the following two lines:
hash_map<string, T> foo;
hash_map<string, T>::const_iterator p;
The first line compiles just fine.
The second line gives the following error: "syntax error before `;'
token"
Any idea how to resolve this error?
Thanks,
Joseph
hash_map<string, T> foo;
hash_map<string, T>::const_iterator p;
The first line compiles just fine.
The second line gives the following error: "syntax error before `;'
token"
Any idea how to resolve this error?
Thanks,
Joseph