<p>I have some C++ source code with templates maybe like this - doxygen runs without errors but none of the documentation is added to the output, what is going on?</p>

<pre><code>///
/// A class
///
class A
{
  ///
  /// A typedef
  ///
  typedef B&lt;C&lt;D&gt;&gt; SomeTypedefOfTemplates;
};
</code></pre>

Yeah, so what is going on is the template instantiation is bogus. The ">>" like that is ambiguous and is meant to be a compile time error. You couldn't see it because maybe your compiler (VC++) let it slip by but I guess doxygen was stricter on that. Add a space like shown.
```
```
///
/// A class
///
class A
{
  ///
  /// A typedef
  ///
  typedef B<C<D> > SomeTypedefOfTemplates;
};
```
```