C++: error “… is not derived from type …”

前端 未结 1 1687
温柔的废话
温柔的废话 2021-01-17 13:01
template
class Bimap {
public:
    class Data;
    typedef Data* DataP;    
    typedef std::multimap T1Map;
    typ         


        
1条回答
  •  说谎
    说谎 (楼主)
    2021-01-17 13:33

    make it:

    typename T1Map::iterator it1;
    

    http://www.parashift.com/c++-faq-lite/templates.html#faq-35.18

    0 讨论(0)
提交回复
热议问题