title: When to use .hpp files
body: <p>I've created a library using C++, I want to create a Python Wrapper for this library and I am using <code>boost.python</code> - The problem is that I have created <code>.h</code> and <code>.cpp</code> files separately and for some reason, the .so file cannot link these .cpp files. </p>
  
  <p>I have therefore decided to just use the .hpp extension and include the implementation as a header file. Is this good or bad practice in terms of C++? I'm hoping to upload my project to Github so want to maximize the most optimal solution. </p>
  
  <p>P.S. I think this question would more belong on programmers.stackexchange.com so if it is, could someone please migrate it.  </p>