C++ "map is not a type" error
<p>This is my header file:</p>

<pre><code>/**
 * Job.h
 *
 **/

#ifndef JOB_
#define JOB_

#include &lt;map&gt;
#include &lt;string&gt;
#include &lt;algorithm&gt;
#include &lt;cstdlib&gt;
#include &lt;iomanip&gt;
#include &lt;vector&gt;

class Job {

private:

int resourceId;
int inputRepresentation;
int outputRepresentation;

//Effects associative array
//Maps an effect to a map of it's attributes
//effectsMap[effect][attribute]=value
map&lt; std::string, map&lt;std::string, int&gt; &gt; *effectsMap;

public:

//constructors
Job();
Job(int resId, int inputRep, int outputRep);

//destructor
virtual ~Job();


//getters
int getInputRepresentation() const;
int getOutputRepresentation() const;
int getResourceId() const;


//setters
void setInputRepresentation(int inputRepresentation);
void setOutputRepresentation(int outputRepresentation);
void setResourceId(int resourceId);
void setRepresentations(std::map *rep);

void addEffect(std::string effect, map&lt;std::string, int&gt; attributesMap);



};


#endif
</code></pre>

<p>Now Ii will get to the point:</p>

<pre><code>void setRepresentations(std::map *rep)
</code></pre>

<p>Gives the following error: "map is not a type"
This is weird because it looks like eclipse manages to properly link to the stl library...
And I do have a private field of map that seems to be fine.</p>

<p>Any ideas?</p>
