Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.0
-
None
Description
Example: https://doc.qt.io/qt-6/qspan.html#QSpan-8 (in case the link changed in the meantime: this is the initializer_list ctor of QSpan).
Source:
\fn template <typename T, size_t E> QSpan<T, E>::QSpan(std::initializer_list<value_type> il);
Result:
QSpan::QSpan(std::initializer_list<QSpan<T, E>::value_type>)
This can be very easily misread (I did so) as meaning initializer_list of some QSpan, when in fact, it's just initializer_list<value_type>.
Expected rendering:
QSpan::QSpan(std::initializer_list<value_type>)
(and value_type should be a link to the value_type docs).
Attachments
Issue Links
- relates to
-
QTBUG-130885 Omit templates on own class template names
- Reported