Opened 9 years ago

Closed 9 years ago

#9241 closed Bugs (fixed)

Boostbook is misreporting the return type of assignment operators

Reported by: Eric Niebler Owned by: Daniel James
Milestone: To Be Determined Component: Documentation
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

Using doxygen with boostbook. A simple type like:

struct S {

detail::unspecified operator=(int) const;

};

is getting emitted as having a return type of "S&" instead of "unspecified", as it should. There seems to be some flaw in the logic in tools/boostbook/xsl/function.xsl, but I'm not XSL-savvy enough to fix it.

I'm using doxygen 1.8.5, and boost trunk if it helps. I've confirmed that the problem is *not* doxygen.

Change History (3)

comment:1 by Daniel James, 9 years ago

(In [86252]) Add assignment return to doxygen2boostbook. Refs #9241.

comment:2 by Eric Niebler, 9 years ago

Just confirmed the fix on trunk. Thanks for the speedy work!

comment:3 by Daniel James, 9 years ago

Resolution: fixed
Status: newclosed

(In [86725]) Merge Boostbook.

  • Support some colour roles (thanks to Paul Bristow).
  • Support assignment return types in doxygen2boostbook. Fixes #9241.
  • Fix virtual methods in doxygen2boostbook.
  • Add newlines to doxygen2boostbook to make the output a tad more readable.
  • Improved last-revision handling.
  • Support noexcept and constexpr in doxygen2boostbook.
  • Improved boostbook for virtual and explicit methods from doxygen2boostbook.
  • Support language="c++" attribute for code and programlisting elements.
  • Use that to do syntax highlighting for doxygen2boostbook.
Note: See TracTickets for help on using tickets.