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.

P.S. I've had a number of issues that seem to be related to
static members (and possibly C++11 initialisation using {...})
but they have been really strange and difficult to tie down
(coming and going with minor changes).  Am I the only one?

-- 
Geoff Worboys
Telesis Computing Pty Ltd


------------------------------------------------------------------------------
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