GNOME Bugzilla – Bug 617285
C++ using directives are not understood
Last modified: 2018-07-30 11:00:52 UTC
C++ using directives are not understood. For example in the following code, the generated documentation contains an entry for A::var but no entry for B::var. Adding "/// \brief The using directive" right before the using directive does not change the output. This behaviour contradicts the meaning of this C++ code: the variable is made available in both namespaces. My feeling is that an entry for var should be generated in the documentation of namespace B, containing a pointer to the documentation of var in namespace A. In addition, if a documentation block corresponds to the using directive, its contents should appear in the documentation of B::var as well as the pointer to the documentation of A::var. /// \brief Namespace containing a real variable namespace A { /// \brief The variable int var; } /// \brief Namespace containing using directive namespace B { using A::nb; }
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!