title: Is there a trick to reduce the amount of redundant commenting required for full Doxygen coverage?
body: <p>As part of documenting my C++ codebase, I'm trying to get to full Doxygen coverage -- that is, I want all of my (hundreds of) header files to have well-formed Doxygen comments for all of their public API, so that I can run Doxygen on the codebase and not see any "warning:  blah is not documented" warnings.</p>
  
  <p>In general this is just a matter of going through and documenting stuff, but I've noticed that I keep entering the same text over and over again for every class.  For example, I have many instances of essentially this:</p>
  
  <pre><code>/** The Foo class represents blah blah blah */
  class Foo
  {
  public:
      /** Default constructor */
      Foo();
  
      /** Copy constructor
        * @param rhs the object to make this object a copy of.
        */
      Foo(const Foo &amp; rhs);
  
      /** Destructor */
      ~Foo();
  
      /** Equality operator.
        * @param rhs the object to compare against.
        * @returns true iff this object and (rhs) are equal.
        */
      bool operator == (const Foo &amp; rhs) const;
  
      /** Inequality operator.
        * @param rhs the object to compare against.
        * @returns true iff this object and (rhs) are not equal.
        */
      bool operator != (const Foo &amp; rhs) const;
  
      /** Assignment operator
        * @param rhs the object we should copy our state from
        * @returns a reference to *this
        */
      Foo &amp; operator = (const Foo &amp; rhs);
  
  [...]
  }
  </code></pre>
  
  <p>These comments are (usually) more-or-less exactly the same for every class, because these functions/operators almost always work exactly the same way for every class.  Indeed, to have operators or copy constructors that behaved in some other manner would be a questionable design pattern, as C++ programmers generally expect operators to work the same way for every class.</p>
  
  <p>My questions is, is there some trick by which I can tell Doxygen to auto-generate reasonable documentation for these things (e.g. via some sort of template or macro) without my having to manually enter this text over and over again?  That would greatly cut down on the amount of text I have to enter and maintain, and it would also de-clutter my header files by allowing me to remove comments of the "no duh" variety so that the reader can more easily find the comments that offer real insight.</p>