diff options
author | Luca Di Sera <luca.disera@qt.io> | 2023-11-29 17:41:53 +0100 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2023-11-30 11:26:20 +0100 |
commit | 60c2d72d967402ff057e15eeceda4b40560b4ad2 (patch) | |
tree | bfc14b0059a8bbc5a629c1d8f2080a866a3158c7 /src/corelib/tools/qlist.qdoc | |
parent | 7b84cd62b0c3c9ab2ec723ff4982596b1b24d57c (diff) |
Doc: Fix \fn template arguments for Qt Core
Upcoming changes to QDoc require accurate definition for
template arguments in \fn commands.
Task-number: QTBUG-118080
Change-Id: I64d50919bc6ffab61ef5ead553d1da99d63a9f21
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/tools/qlist.qdoc')
-rw-r--r-- | src/corelib/tools/qlist.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlist.qdoc b/src/corelib/tools/qlist.qdoc index 04bd6b2c77..5596813505 100644 --- a/src/corelib/tools/qlist.qdoc +++ b/src/corelib/tools/qlist.qdoc @@ -274,7 +274,7 @@ Constructs a list from the std::initializer_list given by \a args. */ -/*! \fn template<typename T> template <typename InputIterator, if_input_iterator<InputIterator> = true> QList<T>::QList(InputIterator first, InputIterator last) +/*! \fn template<typename T> template <typename InputIterator, QList<T>::if_input_iterator<InputIterator> = true> QList<T>::QList(InputIterator first, InputIterator last) \since 5.14 Constructs a list with the contents in the iterator range [\a first, \a last). @@ -1550,7 +1550,7 @@ list or this list is shared. */ -/*! \fn template <typename T> template <typename InputIterator, if_input_iterator<InputIterator>> QList<T>& QList<T>::assign(InputIterator first, InputIterator last) +/*! \fn template <typename T> template <typename InputIterator, QList<T>::if_input_iterator<InputIterator>> QList<T>& QList<T>::assign(InputIterator first, InputIterator last) \since 6.6 Replaces the contents of this list with a copy of the elements in the |