The Doxygen documentation says that \ingroup can be used to add an entity to multiple groups:
\ingroup (<groupname> [<groupname> <groupname>])
The problem is that I tried it and Doxygen adds the entitiy to just the last group in the group list. Something like
/** \ingroup A B
* ...
*/
adds the element to module A, but not to B. Does anyone know why, and how to solve it?
I tried it with Doxygen versions 1.7.6.1 and 1.8.1.2.
Thanks for your help.
EDIT: I realized that doxygen outputs a warning that says:
Member X found in multiple @ingroup groups! The member will be put in group B, and not in group A
It seems to me that this is contradictory with the documentation.
ANSWER: I answer myself. I was trying to add functions to multiple groups, but the documentation says "Note that compound entities (like classes, files and namespaces) can be put into multiple groups, but members (like variable, functions, typedefs and enums) can only be a member of one group".