G
Gernot Frisch
this thingy:
void foo()
{
std::map<std::string, int> mp;
std::string st = "Name";
mp[st] = 15;
}
compiles to:
VC98\INCLUDE\functional(86) : error C2784:
'bool __cdecl std:perator <(const class std::multimap<_K,_Ty,_Pr,_A>
&,
const class std::multimap<_K,_Ty,_Pr,_A>
&)'
: Vorlagenargument fuer 'const class std::multimap<_K,_Ty,_Pr,_A> &'
von
'const class std::basic_string<char,struct std::char_traits<char>,
class std::allocator<char> >'
konnte nicht hergeleitet werden
\VC98\INCLUDE\functional(86) :
Bei der Kompilierung der Member-Funktion
'bool __thiscall std::less<class std::basic_string<
char,struct
char,struct
std::char_traits<char>,
class std::allocator<char> > &,
const class std::basic_string<
char,struct
std::char_traits<char>,
class std::allocator<char> > &
)const'
der Klassenvorlage
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
void foo()
{
std::map<std::string, int> mp;
std::string st = "Name";
mp[st] = 15;
}
compiles to:
VC98\INCLUDE\functional(86) : error C2784:
'bool __cdecl std:perator <(const class std::multimap<_K,_Ty,_Pr,_A>
&,
const class std::multimap<_K,_Ty,_Pr,_A>
&)'
: Vorlagenargument fuer 'const class std::multimap<_K,_Ty,_Pr,_A> &'
von
'const class std::basic_string<char,struct std::char_traits<char>,
class std::allocator<char> >'
konnte nicht hergeleitet werden
\VC98\INCLUDE\functional(86) :
Bei der Kompilierung der Member-Funktion
'bool __thiscall std::less<class std::basic_string<
char,struct
(const class std::basic_string<std::char_traits said::perator ()
char,struct
std::char_traits<char>,
class std::allocator<char> > &,
const class std::basic_string<
char,struct
std::char_traits<char>,
class std::allocator<char> > &
)const'
der Klassenvorlage
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com