Closed
Description
status NEW severity normal in component general for ---
Reported in version 1.6.1 on platform Other
Assigned to: Dimitri van Heesch
On 2010-04-30 13:39:06 +0000, Yann Leprince wrote:
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;
}