title: Incompatible function declaration
body: <p>I'm stuck, why am i getting an error: declaration is incompatible... </p>
  
  <p>'void A::function(int,int,std::vector&lt;_Ty> *)' : overloaded member function not found in 'A'
  error C2061: syntax error : identifier 'vector'
  1>          with
  1>          [
  1>              _Ty=Point
  1>          ]</p>
  
  <pre><code>//cpp file
  void A::function(int a, int b, vector&lt;B&gt; *p)
  {    
  
  }
  
  //header file
  
  class B
  {
  public:
       int q;
  };
  class A
  {     
  public:    
       void function(int a, int b, vector&lt;B&gt; *p);    
  };
  </code></pre>