Opened 8 years ago

Closed 6 years ago

#5480 closed Feature Requests (fixed)

Doxygen: Support for C++0x =default and =delete

Reported by: viboes Owned by: Steven Watanabe
Milestone: To Be Determined Component: Documentation
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc: vicente.botet@…

Description

While generating the doc with doxygen, =default and =delete are not documented

C() = default;

gives

C();

Could this be managed?

Change History (10)

comment:1 Changed 8 years ago by Joel de Guzman

Owner: changed from Joel de Guzman to Daniel James

comment:2 Changed 8 years ago by Daniel James

Component: quickbookDocumentation
Owner: changed from Daniel James to Steven Watanabe

comment:3 Changed 7 years ago by Steven Watanabe

These are dropped by Doxygen as of 1.7.4. Revisit this and #5479 when Doxygen does support these features.

comment:4 Changed 6 years ago by Andrey Semashev

I added support for defaulted and deleted functions in revision [83872]. Works for me with Doxygen 1.8.3.1 (should also work with versions 1.8.2 and later). If everything's fine, this ticket can be closed (and https://svn.boost.org/trac/boost/wiki/Guidelines/DoxygenGuidelines should probably be updated).

comment:5 Changed 6 years ago by Daniel James

I'll have a look later, but a couple of quick notes. Please don't add changes to trunk and release at the same time, putting them in trunk first gives us an opportunity to check them. Also, there's a very basic doxygen test, if you can work it out, it'd be useful to add something to it, it's at:

http://svn.boost.org/svn/boost/trunk/tools/boostbook/test/doxygen/

If you can't I'll do it later.

comment:6 in reply to:  5 Changed 6 years ago by Andrey Semashev

Replying to danieljames:

I'll have a look later, but a couple of quick notes. Please don't add changes to trunk and release at the same time, putting them in trunk first gives us an opportunity to check them.

Ok. I just failed to build Boost.Log docs with trunk (regardless of my change), whereas it builds fine with release branch, so I thought there's something totally broken in trunk now.

Also, there's a very basic doxygen test, if you can work it out, it'd be useful to add something to it, it's at:

http://svn.boost.org/svn/boost/trunk/tools/boostbook/test/doxygen/

If you can't I'll do it later.

Ok, I'll try. I hope I can figure out how it works.

comment:7 Changed 6 years ago by Daniel James

Oh, don't bother. I just tried it and the test is broken at the moment. I'll see what I can do. Thanks for working on default/delete.

comment:8 Changed 6 years ago by Steven Watanabe

(In [83936]) Project ids are supposed to be unique. (Refs #5480)

comment:9 Changed 6 years ago by Daniel James

(In [84166]) Add doxygen tests for deleted and default functions. Refs #5480.

comment:10 Changed 6 years ago by Daniel James

Resolution: fixed
Status: newclosed

(In [84302]) Merge some boostbook changes from trunk. Fixes #5480.

The default/delete support, plus fix/update tests.

Note: See TracTickets for help on using tickets.