-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Beta1
-
None
-
8
-
58bca83555914cacf124acf0a687312bb547b85c (qt/qttools/dev)
-
Da Vinci sprint 19, Da Vinci sprint 20
QPointer has an operator== overload for std::nullptr_t (a hidden friend, hence the somewhat weird prototype, but that seems irrelevant):
/*! \fn template <typename T> bool QPointer<T>::operator!=(std::nullptr_t, const QPointer<T> &rhs) ...
In the generated documentation, the function is documented as:
bool operator==(std::nullptr_t rhs, const QPointer<T> &)
Naming the first argument (e.g. "lhs") is a workaround, but then one has to document it as well to avoid qdoc warnings, whereas saying that "returns true when \a rhs is \nullptr" says everything there is to be said.
- replaces
-
QTBUG-87598 qdoc: Unnamed parameter results in default value of nullptr
-
- Closed
-
For Gerrit Dashboard: QTBUG-87855 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
319003,6 | qdoc: Fix handling of \fn signatures with unnamed parameters | dev | qt/qttools | Status: MERGED | +2 | 0 |