C++だとわりと使う。
typedef typename std::vector<std::pair<int, std::string> >::iterator itr;
とかね。
そんな長い型名毎回書きたくないでそ?