After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617285 - C++ using directives are not understood
C++ using directives are not understood
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.6.1
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2010-04-30 13:39 UTC by Yann Leprince
Modified: 2018-07-30 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yann Leprince 2010-04-30 13:39:06 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;
}
Comment 1 André Klapper 2018-07-30 11:00:52 UTC
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!