C++, c'est aussi pour ça qu'on t'aime
Par gaerun le vendredi, septembre 23 2005, 16:03 - Geekeries et autres - Lien permanent
basic/BasStatMgr.cpp:116: error: no match for 'operator=' in 'itrAName = (((std::map<KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator, std::less<KIT::BasStatMgr::Category>, std::allocator<std::pair<const KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator> > >*)(&itrByName)->std::_Rb_tree_iterator<_Tp>::operator-> [with _Tp = std::pair<const std::string, std::map<KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator, std::less<KIT::BasStatMgr::Category>, std::allocator<std::pair<const KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator> > > >]()) + 8u)->std::map<_Key, _Tp, _Compare, _Alloc>::insert [with _Key = KIT::BasStatMgr::Category, _Tp = KIT::BasStatMgr::Indicator, _Compare = std::less<KIT::BasStatMgr::Category>, _Alloc = std::allocator<std::pair<const KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator> >](((const std::pair<const KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator>&)((const std::pair<const KIT::BasStatMgr::Category, KIT::BasStatMgr::Indicator>*)(&aName_value_type(((const KIT::BasStatMgr::Category&)(+(&itrCat)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const KIT::BasStatMgr::Category*, _Container = std::vector<KIT::BasStatMgr::Category, std::allocator<KIT::BasStatMgr::Category> >]())), ((const KIT::BasStatMgr::Indicator&)((const KIT::BasStatMgr::Indicator*)(&Indicator(((const std::string&)(+(&itrName)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const std::string*, _Container = std::vector<std::string, std::allocator<std::string> >]())), (&itrCat)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const KIT::BasStatMgr::Category*, _Container = std::vector<KIT::BasStatMgr::Category, std::allocator<KIT::BasStatMgr::Category> >](), 1, (&itrTotal)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const AMD_Double*, _Container = std::vector<AMD_Double, std::allocator<AMD_Double> >](), (&itrTotal)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const AMD_Double*, _Container = std::vector<AMD_Double, std::allocator<AMD_Double> >](), (&itrTotal)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = const AMD_Double*, _Container = std::vector<AMD_Double, std::allocator<AMD_Double> >]())))))))))'
Commentaires
Pffft... Et moi c'est ce jour là que je choisis pour venir jeter un oeil sur ton bloug.. Rha la la ces geeeeeeks... :)
Heu, t'as oublié un #include ?