GNOME Bugzilla – Bug 663645
strongly typed c++11 enums do not generate correct output
Last modified: 2012-07-29 11:51:28 UTC
If two strongly typed enums use the same constant, the generated documenet for an enum contains both explanation texts if identical even thought the enum is typed. enum class eTest1 { OK, //!< This is OK NOT_OK //!< this is not OK }; enum class eTest2 { OK, //!< this is also OK FAIL, //!< this is a fail } produces: enum eTest1 OK This is OK This is also OK <====== this should not be here NOT_OK This is not OK enum eTest2 OK This is OK <====== this should not be here This is also OK FAIL This is a fail
Confirmed. I'll add support for these enums in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1.2. 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.
Created attachment 219833 [details] Regular enums will display description of members.
Uh oh... I don't know why but the description text "Enumerator:" of strongly typed enums' single members will not be displayed in my HTML output. Changing the declaration back to regular enums will let them appear immediately (see attached images). enum Test { /// This is bla. bla, /// This is foo. foo }; HTML output: bla This is bla. foo This is foo. And now the new variant: enum class Test { /// This is bla. bla, /// This is foo. foo }; No HTML output of the decription text! I'm using version 1.8.1.2
Created attachment 219834 [details] Strongly typed enums will drop description of members...