Template using declaration

66 views Asked by At

Why isn't it compiled:

template<typename T>
using v_itt = std::vector<T>::iterator; //error: missing 'typename' 
                             //prior to dependent type name 'std::vector<T>::iterator

demo

I use as it said in this topic. What did I miss?

0

There are 0 answers