Open
Description
Template specialisations get copies of members of the primary template.
The bug is very easy to reproduce:
/// template
template <class T>
struct t {
/// type
using type = T;
};
/// template specialisation
template <>
struct t<int> {
/// specialised type
using type = int;
};
Docs for t<int>
will have both versions of type
: the correct one from the specialisation and the wrong one from the primary template. The problem is present in both HTML and XML output.
The bug is present in version 1.13.2 (and in the master branch as of this morning). The original commit that had introduced the bug appears to be ef4065a.