New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enclosing scope of a forward declaration is lost. (Origin: bugzilla #691335) #5025

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.3 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-01-08 09:51:41 +0000, karolmdv@gazeta.pl wrote:

Created attachment 232956
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
class MyScopeIsLost;

template <typename T>
class MyScopeIsLost
{
};

}

///
/// \brief A documented namespace 2.
///
namespace Project2
{
template
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.

On 2013-01-13 10:56:24 +0000, Dimitri van Heesch wrote:

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

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment