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

regression referencing namespaced type (Origin: bugzilla #722457) #5404

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 major in component documentation for ---
Reported in version 1.8.6 on platform Other
Assigned to: Dimitri van Heesch

On 2014-01-17 21:21:40 +0000, Reece H. Dunn wrote:

For the standard Doxyfile and the code:


namespace cainteoir { namespace rdf
{
struct uri {};

class literal
{
public:
uri type;

  literal();

  template<typename T>
  literal(const T &aValue);

  template<typename T>
  literal(const T &aValue, const std::string &aLanguage);

  template<typename T>
  literal(const T &aValue, const uri &aType);

};
}}

given either:

/**
\fn    cainteoir::rdf::literal::literal(const T &aValue, const cainteoir::rdf::uri &aType)
\brief Create a datatype literal resource.
*/

or:

/**
\fn    cainteoir::rdf::literal::literal(const T &aValue, const uri &aType)
\brief Create a datatype literal resource.
*/

the following warning is generated:


warning: no matching class member found for
cainteoir::rdf::literal::literal(const T &aValue, const cainteoir::rdf::uri &aType)
Possible candidates:
cainteoir::rdf::literal::literal()
'template < T >
cainteoir::rdf::literal::literal(const T &aValue)
'template < T >
cainteoir::rdf::literal::literal(const T &aValue, const std::string &aLanguage)
'template < T >
cainteoir::rdf::literal::literal(const T &aValue, const uri &aType)

This warning is not present in 1.8.6.

NOTE: Removing the line:

uri type;

makes the following documentation work:


/**
\fn    cainteoir::rdf::literal::literal(const T &aValue, const uri &aType)
\brief Create a datatype literal resource.
*/

On 2014-01-17 21:33:18 +0000, Reece H. Dunn wrote:

I have run a bisect which points to:


SHA: 2c93aa6 is the first bad commit
commit SHA: 2c93aa6
Author: Dimitri van Heesch dimitri@stack.nl
Date: Sun Oct 13 13:23:29 2013 +0200

Bug 709052 - Templated and non-templated method mixup documentation

On 2014-02-15 18:21:19 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-04-21 10:09:17 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.7. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferrably in the form of a self-contained example).

@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