How to disable populating enclosing namespaces with c++ inline namespaces in doxygen

175 Views Asked by At

Is there a way to disable adding inline namespaces to their enclosing namespaces in doxygen?

  • F.e. Running the test example 57 with a vanilla Doxyfile created with the wizard the following class list is produced

enter image description here

I'm looking for a way to disable library::v2::foo from being listed under library as well:

enter image description here

I'd prefer a configuration option but a special command, some sort of grouping or any other solution would also be ok.

Here's the source code for the test 57:

namespace library
{
    namespace v1
    {
        class foo { public: void member(); };
        void func();
        namespace NS {}
    }
    inline namespace v2
    {
        class foo { public: void member(); };
        void func();
        namespace NS {}
    }
}
0

There are 0 best solutions below