I find difficulty in both automatic link generation *and* @copydoc
when it comes to 'const' overloaded member methods. Example:

class foo
{
public:
  Object* getObject();
  Object const* getObject() const;
};

I have JAVADOC_AUTOBRIEF enabled. My documentation for the class above is:

class foo
{
public:
  /// Some brief documentation.
  /// @return Returns the object.
  Object* getObject();

  /// @copydoc foo::getObject() const
  Object const* getObject() const;
};

The warning I get from Doxygen is:

warning: Found recursive @copybrief or @copydoc relation for argument
'foo::getObject()'.

What is the proper way to reference functions overloaded by const?

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to