docca icon indicating copy to clipboard operation
docca copied to clipboard

Type aliases with template parameters are rendered wrong

Open anarthal opened this issue 1 year ago • 2 comments

Example: https://www.boost.org/doc/libs/master/libs/mysql/doc/html/mysql/ref/boost__mysql__metadata_collection_view.html

metadata_collection_view is defined as a type alias for boost::span<const metadata>, where metadata is an object defined by MySQL. I'd expect the reference page to only show the type alias, but it's also listing the member functions for metadata.

A slightly less clean example: https://www.boost.org/doc/libs/1_81_0/libs/beast/doc/html/beast/ref/boost__beast__http__file_body.html Where the member functions section contains functions from the file class.

If no member functions are defined for the type in the span, everything works fine though: https://www.boost.org/doc/libs/master/libs/mysql/doc/html/mysql/ref/boost__mysql__blob_view.html

anarthal avatar Feb 24 '23 12:02 anarthal