: C++ templates: type of the iterator is unknown until instantiation
}
gcc error:
}
template<class T> void addAllVector() {
std::vector<T>::iterator it;}
gcc error:
test.cpp:4: error: expected `;' before 'it' test.cpp:5: error: 'it' was not declared in this scope
template<class T> void addAllVector() {
typename std::vector<T>::iterator it;}




