Hi i have a problem with documenting C++ class static template function with Doxygen:
Clazz.h:
#ifndef CLAZZ_H
#define CLAZZ_H
/*! \file clazz.h
* \brief Clazz declaration
* \author Me and myself
* \sa Clazz
*/
/*! \class Clazz
* \brief About class
*/
class Clazz
{
public:
/*! \fn TYPE func(TYPE value)
* \brief About static func
* \param value Parameter
* \returns Some value of \c TYPE
* \tparam TYPE Class type.
*/
template<typedef TYPE>
static TYPE func(TYPE value);
};
#endif
Clazz.cpp:
#include "clazz.h"
/*! \file clazz.cpp
* \brief Clazz implementation
* \author Me and myself
* \sa Clazz
*/
template<typedef TYPE>
TYPE Clazz::func(TYPE value)
{
return value;
}
Doxygen shows:
Generating docs for compound Clazz...
xxx/clazz.cpp:10: Warning: Member func(TYPE value) (function) of class Clazz is not documented.
and when i look at HTML output i can see that function two times:
Public Member Functions
template<typedef TYPE> TYPE (TYPE value)
Static Public Member Functions
template<typedef TYPE> static TYPE func (TYPE value)
About func. More...
I don't want that non-static documentation.
Any ideas how to do that?
Thanks.