You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No documentation is generated for code following the use of a C++11 unified initializer:
/**
foo
*/
class foo {
int x_;
public:
foo() : x_{42} {}
/**
* f
*/
void f();
};
No documentation is generated for f(). However, if you use normal parentheses for initializing:
/**
foo
*/
class foo {
int x_;
public:
foo() : x_(42) {}
/**
* f
*/
void f();
};
Documentation for f() is generated.
On 2012-11-19 23:05:06 +0000, Keith Chan wrote:
Created attachment 229414
Doxyfile
On 2012-11-23 18:10:33 +0000, Kevin McBride wrote:
Created attachment 229737
Slightly Modified Sample
I find that the class gets defined, but function void f() is not defined in Doxygen when the newer C++11 syntax is used.
On 2012-11-25 14:03:00 +0000, Dimitri van Heesch wrote:
Confirmed. Should be fixed in the next subversion update.
On 2012-12-26 16:09:01 +0000, Dimitri van Heesch wrote:
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. 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.
On 2014-12-11 11:23:23 +0000, Freddie Chopin wrote:
I'm reporting it here - if necessary I can open a new bug, so please tell me if that would be preferable.
I'm using doxygen 1.8.8 on Arch Linux, so the bug is supposed to be fixed, but I'm experiencing the same thing as the one reported by first post. I'll attach a test-case (one header from a project and Doxyfile) that demonstrates this.
This is not related to bug # 721462 - if I put anything in the TypeTag initializer, it still doesn't work.
So it seems that doxygen handles the new initializer syntax of C++11 only when there is no nesting, but doesn't like the idea of one initializer embedded in another initializer.
On 2014-12-11 11:25:42 +0000, Freddie Chopin wrote:
Created attachment 292523
New test case - nested initializers
On 2014-12-29 17:18:41 +0000, Freddie Chopin wrote:
I've opened a new bug # 742095, sorry for the noise in old thread.
The text was updated successfully, but these errors were encountered:
status RESOLVED severity major in component general for ---
Reported in version 1.8.2 on platform Other
Assigned to: Dimitri van Heesch
Original attachment names and IDs:
On 2012-11-19 14:45:10 +0000, Keith Chan wrote:
On 2012-11-19 23:05:06 +0000, Keith Chan wrote:
On 2012-11-23 18:10:33 +0000, Kevin McBride wrote:
On 2012-11-25 14:03:00 +0000, Dimitri van Heesch wrote:
On 2012-12-26 16:09:01 +0000, Dimitri van Heesch wrote:
On 2014-12-11 11:23:23 +0000, Freddie Chopin wrote:
On 2014-12-11 11:25:42 +0000, Freddie Chopin wrote:
On 2014-12-29 17:18:41 +0000, Freddie Chopin wrote:
The text was updated successfully, but these errors were encountered: