title: Show implicitly defined functions
body: <p>Is it possible to instruct GCC/Clang compiler to output the complete declaration/definition of a class with all the implicitly added functions?</p>
  <p>If I define a class like</p>
  <pre class="lang-cpp prettyprint-override"><code>class Test {
  };
  </code></pre>
  <p>The compiler will modified this class and add <em>default constructor</em>, <em>assignment operator</em> etc. Is it possible to see these declarations/definition add by the compiler?</p>
  <p>GCC provide <code>-E</code> option to output preprocessed source code. I'm trying to find a similar option to output the updated class declaration/definition.</p>