diff --git a/src/corelib/tools/qpair.qdoc b/src/corelib/tools/qpair.qdoc index 9b9b1783ac..59e6931995 100644 --- a/src/corelib/tools/qpair.qdoc +++ b/src/corelib/tools/qpair.qdoc @@ -93,14 +93,14 @@ The second element in the pair. */ -/*! \fn QPair::QPair() +/*! \fn template QPair::QPair() Constructs an empty pair. The \c first and \c second elements are initialized with \l{default-constructed value}s. */ /*! - \fn QPair::QPair(const T1 &value1, const T2 &value2) + \fn template QPair::QPair(const T1 &value1, const T2 &value2) Constructs a pair and initializes the \c first element with \a value1 and the \c second element with \a value2. @@ -109,7 +109,7 @@ */ /*! -\fn void QPair::swap(QPair &other) +\fn template void QPair::swap(QPair &other) \since 5.5 Swaps this pair with \a other. @@ -125,7 +125,7 @@ */ /*! -\fn void swap(QPair &lhs, QPair &rhs) +\fn template void swap(QPair &lhs, QPair &rhs) \overload \relates QPair \since 5.5 @@ -134,7 +134,7 @@ */ /*! - \fn QPair::QPair(const QPair &p) + \fn template template QPair::QPair(const QPair &p) \since 5.2 Constructs a pair from the other pair \a p, of types TT1 and TT2. This @@ -145,14 +145,14 @@ */ /*! - \fn QPair::QPair(QPair &&p) + \fn template template QPair::QPair(QPair &&p) \since 5.2 Move-constructs a QPair instance, making it point to the same object that \a p was pointing to. */ /*! - \fn QPair & QPair::operator=(const QPair &p) + \fn template template QPair & QPair::operator=(const QPair &p) \since 5.2 Copies pair \a p into this pair. @@ -161,13 +161,13 @@ */ /*! - \fn QPair & QPair::operator=(QPair &&p) + \fn template template QPair & QPair::operator=(QPair &&p) \since 5.2 Move-assigns pair \a p into this pair instance. */ -/*! \fn bool operator==(const QPair &p1, const QPair &p2) +/*! \fn template bool operator==(const QPair &p1, const QPair &p2) \relates QPair @@ -179,7 +179,7 @@ implementation of \c operator==(). */ -/*! \fn bool operator!=(const QPair &p1, const QPair &p2) +/*! \fn template bool operator!=(const QPair &p1, const QPair &p2) \relates QPair @@ -192,7 +192,7 @@ implementation of \c operator==(). */ -/*! \fn bool operator<(const QPair &p1, const QPair &p2) +/*! \fn template bool operator<(const QPair &p1, const QPair &p2) \relates QPair @@ -205,7 +205,7 @@ implementation of \c operator<(). */ -/*! \fn bool operator>(const QPair &p1, const QPair &p2) +/*! \fn template bool operator>(const QPair &p1, const QPair &p2) \relates QPair @@ -218,7 +218,7 @@ implementation of \c operator<(). */ -/*! \fn bool operator<=(const QPair &p1, const QPair &p2) +/*! \fn template bool operator<=(const QPair &p1, const QPair &p2) \relates QPair @@ -231,7 +231,7 @@ implementation of \c operator<(). */ -/*! \fn bool operator>=(const QPair &p1, const QPair &p2) +/*! \fn template bool operator>=(const QPair &p1, const QPair &p2) \relates QPair @@ -245,7 +245,7 @@ */ /*! - \fn QPair qMakePair(const T1 &value1, const T2 &value2) + \fn template QPair qMakePair(const T1 &value1, const T2 &value2) \relates QPair @@ -258,7 +258,7 @@ usually requires less typing. */ -/*! \fn QDataStream &operator>>(QDataStream &in, QPair &pair) +/*! \fn template QDataStream &operator>>(QDataStream &in, QPair &pair) \relates QPair @@ -269,7 +269,7 @@ \sa {Serializing Qt Data Types} */ -/*! \fn QDataStream &operator<<(QDataStream &out, const QPair &pair) +/*! \fn template QDataStream &operator<<(QDataStream &out, const QPair &pair) \relates QPair