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 691335 - Enclosing scope of a forward declaration is lost.
Enclosing scope of a forward declaration is lost.
Status: RESOLVED DUPLICATE of bug 686689
Product: doxygen
Classification: Other
Component: general
1.8.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-01-08 09:51 UTC by karolmdv
Modified: 2013-01-13 10:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Class list view. (254.79 KB, image/png)
2013-01-08 09:51 UTC, karolmdv
Details

Description karolmdv 2013-01-08 09:51:41 UTC
Created attachment 232956 [details]
Class list view.

The following code demonstrates the problem:



#ifndef LOSTSCOPE_HPP
#define LOSTSCOPE_HPP

///
/// \brief A documented namespace 1.
///
namespace Project1
{
    ///
    /// \brief The enclosing scope of for this class is lost.
    /// \tparam T The value type.
    /// \tparam A `true` if yes, `false` if no.
    ///
    template <typename T>
    class MyScopeIsLost;

    template <typename T>
    class MyScopeIsLost
    {
    };
}

///
/// \brief A documented namespace 2.
///
namespace Project2
{
    template <typename T>
    class MyScopeIsNotLost;

    ///
    /// \brief The enclosing scope of for this class is not lost.
    /// \tparam T The value type.
    /// \tparam A `true` if yes, `false` if no.
    ///
    template <typename T>
    class MyScopeIsNotLost
    {
    };
}

#endif



The scope of MyScopeIsLost is lost in the documentation (in every place). It can be seen in the attached screenshot. It has always been the issue (with previous versions as well), however, I could not find the source of the problem before. It happens with nested class scopes as well.
Comment 1 Dimitri van Heesch 2013-01-13 10:56:24 UTC

*** This bug has been marked as a duplicate of bug 686689 ***