容器问题,好像类型是匹配的,为什么就是不行啊

'class std::list,class std::allocator >,class std::allocator,class
std::allocator > > >::iterator' differs in levels of indirection from 'class std::list,class std::allocator >,class std::allocator raits,class std::allocator > > > *'

你代码具体到底是什么样,出错位置呢

一个有指针一个没有指针类型不匹配。具体要看你的代码

贴代码出来才能判断是什么错误。错误信息不够明确。