without typename next line is not cross compilable 
 vector<T>::const_iterator

(compiler can't define is it type or name of method