For the sake of anyone checking the archives, I thought I should
add a follow-up to this post of mine.  I created demonstrations
of both problems and submitted to the bug-list.  See:
https://bugzilla.gnome.org/show_bug.cgi?id=700693
and
https://bugzilla.gnome.org/show_bug.cgi?id=700696

I only did that a few hours ago and already Dimitri has confirmed
them both.  Fast work Dimitri, thank you very much.

-- 
Geoff Worboys
Telesis Computing Pty Ltd

Geoff Worboys wrote:
> Hi,


> 1) I have some template member functions that look like this:

> class MyClass {
> public
>   template<typename C> class UnitIterator;
> ...
> public:
>   template<typename C> UnitIterator<C> unit_begin();
> ...
> };

> They are unusual in that they have no parameters based on the
> template type, so they must always be used explicitly, as in:
>   auto iter = myobj.unit_begin<char>();

> These seem to be causing doxygen some problems.

> When using grouping @{..@} the members appear in the group and
> also ungrouped (ie. copies at the top of the list).

> Inside the group the return type is as expected (no MyClass::
> prefix), but the copies at the top are listed as returning
> MyClass::UnitIterator<C>, which is not usual.

> Other template member functions in the same class are grouping
> properly (no duplication).  The fact that these particular items
> have no parameters seems to be the only distinction.



> 2) I have another class with some static template member
> functions.  These also appear to be being duplicated but in a
> different way and without the same restriction.  eg:

> class MyClass2 {
> ...
> protected:
>   template<typename C> static AClass* afunc(const C* ainput);
> ...
> };

> In this case the template is showing under the heading of
> "static protected member functions" as expected BUT the same
> templates are ALSO showing under public member functions
> (where it appears the "static" has been stripped off them).


> Okay, so my descriptions are a little vague.  I am happy to try
> and create a more complete demo of the problems if I can.  But
> first I thought I would try asking if there might be something
> I'm missing.


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to