boostorg / boostorg/docca

Type aliases with template parameters are rendered wrong

Open
#139 2 comments 0 reactions 1 assignee Claimed by @evanlenz View on GitHub
Dominant language
Python
Stars
20
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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`, 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.