C++ keywords: typename

From Cppreference

Jump to: navigation, search

[edit] Usage

[edit] Example

template <typename T>
    void foo ( const std::vector<T>& v )
    {
        typename std::vector<T>::const_iterator it = v.begin();
    }