Here is a short C++ template class that generates a doxygen warning
and incorrect documentation.
Doxygen reports this error:
doxy.h:15: warning: Member assign(Other first, Other last) (function)
of class A is not documented.
In the HTML I see two listings for the assign method. One has the
correct documentation and the other does not. It seems to be confusing
the definition at the bottom of the file as a different method than
the declaration.
Ideas?
Thanks,
John
template<class T> struct enable_if<true, T> { typedef T type; };
/** A class */
template<class T>
class A {
public:
/** assign docs. Something else. */
template<class Other>
typename enable_if<true, void>::type assign(Other first, Other last);
};
template<class T>
template<class Other>
typename enable_if<true, void>::type A<T>::assign(Other first, Other last)
{ }
|