Doxygen duplicates member group if in namespace

  c++, documentation, doxygen, namespaces

I just noticed a problem in my documentation. I have a file where I have a set of definitions that I am trying to document together, in this form:

namespace ABC {
    /**
     * @name ABC
     *
     * Hello.
     *
     * @{
     */

    using Test1 = std::vector<int>;
    using Test2 = std::vector<size_t>;

    /** @}  */
}

However, when running doxygen on this file, the documentation for ABC and the typedefs inside repeats itself twice. This does not happen if the group is placed outside the namespace in global scope.

enter image description here

What am I doing wrong?

Source: Windows Questions C++

LEAVE A COMMENT