replace
std::vector <double>::iterator It1;
std::vector <double>::iterator It1;
To copy to clipboard, switch view to plain text mode
by
typename std::vector<T>::iterator It1;
// Or make it a const_iterator since you do not want to modify things.
// For the same reason your method could (should) be declared const.
typename std::vector<T>::iterator It1;
// Or make it a const_iterator since you do not want to modify things.
// For the same reason your method could (should) be declared const.
To copy to clipboard, switch view to plain text mode
(You might want to provide a typedef for that in your class.)
HTH
Bookmarks