how to declare variables in class?
<p>I have following code:</p>

<pre><code>class one
{
public:
  typedef int (*funPtr) (void);
  one()
  {
    // here I'm using map variable which is private. 
  }
  ~one(){}

private:
  typedef map&lt;int, funPtr&gt; mMap;
  mMap mapVar;  
};
</code></pre>

<p>In this case class constructor gives that error that map is not declared. Can anyone help me?</p>
