Skip to content

alias template can only be inline documented #736

@wichtounet

Description

@wichtounet

Hi,

I just discovered that alias templates can only be documented with inline comment (after member documentation).

This does not show an issue:

template <typename T>
using intrinsic_type = typename intrinsic_traits<T>::intrinsic_type; ///< DOCUMENTATION

But this is shown as undocumented API:

/*!
 * \brief DOCUMENTATION
 */
template <typename T>
using intrinsic_type = typename intrinsic_traits<T>::intrinsic_type;

I think that the second should be supported since it is the only form that allows to document the template parameters.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions