title: inline keyword causes linker error 2019 in Visual C++
body: <p>I've been on a hiatus from using MSVC and vaguely remember having no problems inlining class member functions.  However, when I use the inline keyword as such:</p>
  
  <pre><code>//In header file
  class A {
      public:
          inline void funcA(void);
  };
  
  //In cpp file
  void A::funcA(void) {
  
  }
  </code></pre>
  
  <p>I get a LNK2019, unresolved symbol (even though the function matches exactly what the error says is missing).  I've tried marking both the header and definition as inline, and the same thing happens.  I also removed the inline keyword after trying to build, and the error remains until I clean the solution, after which everything builds fine sans-inline.  Nobody seems to have the same issue when I Google the problem, suggesting I'm missing some obvious thing... but what is it?</p>