...\stl\stl_vector.h(174) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...\stl\stl_vector.h(189) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...\stl\stl_vector.h(190) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...\stl\stl_vector.h(191) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...\stl\stl_vector.h(192) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...\stl\stl_vector.h(193) : warning C4097: typedef-name '_Base' used as synonym for class-name 'vector<_Tp,_Alloc>::_Vector_base<_Tp,_Alloc>' ...\stl\stl_vector.h(496) : see reference to class template instantiation 'std::vector<_Tp,_Alloc>' being compiled ...ashtable.hpp(40) : error C2143: syntax error : missing ';' before '<' ...ashtable.hpp(40) : error C2501: 'hash_map' : missing storage-class or type specifiers ...ashtable.hpp(40) : error C2059: syntax error : '<' ...ashtable.hpp(40) : error C2238: unexpected token(s) preceding ';' ...ashTable.cpp(36) : error C2065: 'tableHash' : undeclared identifier ...ashTable.cpp(36) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const class BString' (or there is no acceptable conversion)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question#include "BString.hpp" #include "liste/BListeIndir.hpp" #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 //#include <hash_map> #include < utility > //tmp en attendant mieux!!! class BPaire { public: BString* getPValeur(); BPaire(){PB1("BPaire NOK");} BPaire(const BString& cle,const BString& val):clef(cle),valeur(val){} bool operator<(const BPaire& in){return clef struct eqstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) == 0; } }; hash_map<const char*, <const char*, hash<const char*>, eqstr> tableHash; //2e essai, stl tjs // http://www.sgi.com/tech/stl/PairAssociativeContainer.html // là du coup, je suis po sur qu'il yt ai hashage mé bon... pair<const string,const string> tableHash; /* puis vector... po mieu */ //solution par défaut BListeIndirtableHash; };