Explizit instanziertes Klassentemplate mit Doxygen kommentieren
-
Hallo,
ich habe ein Klassentemplate
//! A Sample template<class T> class DoxygenSample { public: //! Constructor DoxygenSample(int); };
in sample.h, die (kommentierte) Definition des Konstruktors
//! @param size Size of the Sample template<class T> DoxygenSample<T>::DoxygenSample(int size) { }
in sample_def.h und die Instanzierung
template class DoxygenSample<int>;
in sample.cpp.
Mein Problem ist nun, dass Doxygen bzgl. der Konstruktordefinition den Fehler
no matching class member found for template < T > DoxygenSample::DoxygenSample(int size)
liefert und den Kommentar oberhalb des Konstruktors nicht erkennt.
Weiß jemand, ob man das anders lösen kann, als den Kommentar in sample.h zu packen?