|
From: Daniel K. O. <dan...@gm...> - 2006-06-27 05:19:24
|
Per Westermark escreveu:
> First of all, you have forgotten that map and string resides in the std::
> namespace.
>
> Besides - do you really want to return a _copy_ of a map?
>
>
Not only that, but he forgot to use parenthesis:
>> #include <map>
>>
>> map <string,string> get_degenerate{
>>
>> //do stuff
>>
>> }
>>
>> my compiler says I need a constuctor, destructor, or type conversion
>> before operator "<"
>>
---
Daniel K. O.
|