title: Where should a default destructor C++11 style go, header or cpp?
body: <p>In C++11 a default implementation of constructor(s), destructor and copy/move operators can be specified with "= default". Where to put the "= default", in header file, where the class definition is, or in the source file (cpp)?</p>
  
  <p>In header file Test.h:</p>
  
  <pre><code>class Test
  {
  public:
      ~Test() = default;
  };
  </code></pre>
  
  <p>In source file Test.cpp:</p>
  
  <pre><code>class Test
  {
  public:
      ~Test();
  };
  
  #include "Test.h"
  Test::~Test() = default;
  </code></pre>