template class Bimap { public: class Data; typedef Data* DataP; typedef std::multimap T1Map; typ
make it:
typename T1Map::iterator it1;
http://www.parashift.com/c++-faq-lite/templates.html#faq-35.18