title: Where to put the doxygen comment blocks for an internal library - in H or in CPP files?
body: <p>The common sense tells that the Doxygen comment blocks have to be put in the header files where the classes, structs, enums, functions, declarations are. I agree that this is a sound argument for a libraries that are mean to be distributed without its source (only headers and libs with object code).</p>
  
  <p>BUT...I've been thinking of the exact opposite approach when I'm developing an internal to the company (or as a side project for myself) library that will be used with its full source code. What I propose is to put the large comment blocks in the implementations files (HPP, INL, CPP, etc) in order NOT to clutter the inteface of the classes and functions declared in the header.</p>
  
  <p><strong>Pros:</strong></p>
  
  <ul>
  <li>Less clutter in the header files, only categorizing of the functions can be added.</li>
  <li>The comment blocks that are previewed when Intellisense for example is used doesn't clash - this is a defect that I have observed when I have a comment block for a function in the .H file and have its inline definition in the same .H file but included from .INL file.</li>
  </ul>
  
  <p><strong>Cons:</strong></p>
  
  <ul>
  <li>(The obvious one) The comment blocks are not in the header files where the declarations are.</li>
  </ul>
  
  <p>So, what do you think and possibly suggest?</p>