summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-03-07 08:30:27 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-07 11:14:20 +0100
commit0e8520d18f700c42ffff12e111ee4fc25caac55a (patch)
tree3e3c747669e4a8c53f233c40c1c16b616cbbe9f8 /src/corelib/tools
parent583349de0339df9384f3b69c6cda760939399d2f (diff)
Update the documentation for C++11 initializer lists support
The documentation was written for 4.8 when the C++11 standard did not have the name yet. Change-Id: I08640a5ae62385b09e181eefafd4cc831e4de456 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qlist.cpp3
-rw-r--r--src/corelib/tools/qstringlist.cpp3
-rw-r--r--src/corelib/tools/qvector.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/corelib/tools/qlist.cpp b/src/corelib/tools/qlist.cpp
index 49f5ae4210..760c944c29 100644
--- a/src/corelib/tools/qlist.cpp
+++ b/src/corelib/tools/qlist.cpp
@@ -511,7 +511,8 @@ void **QListData::erase(void **xi)
Construct a list from the std::initializer_list specified by \a args.
- This constructor is only enabled if the compiler supports C++0x
+ This constructor is only enabled if the compiler supports C++11 initializer
+ lists.
*/
/*! \fn QList::~QList()
diff --git a/src/corelib/tools/qstringlist.cpp b/src/corelib/tools/qstringlist.cpp
index f48db4a643..f38acef664 100644
--- a/src/corelib/tools/qstringlist.cpp
+++ b/src/corelib/tools/qstringlist.cpp
@@ -738,7 +738,8 @@ int QtPrivate::QStringList_removeDuplicates(QStringList *that)
Construct a list from a std::initializer_list given by \a args.
- This constructor is only enabled if the compiler supports C++0x
+ This constructor is only enabled if the compiler supports C++11 initializer
+ lists.
*/
diff --git a/src/corelib/tools/qvector.cpp b/src/corelib/tools/qvector.cpp
index efc4b6a446..448c8e4c6a 100644
--- a/src/corelib/tools/qvector.cpp
+++ b/src/corelib/tools/qvector.cpp
@@ -230,7 +230,8 @@
Construct a vector from the std::initilizer_list given by \a args.
- This constructor is only enabled if the compiler supports C++0x
+ This constructor is only enabled if the compiler supports C++11 initializer
+ lists.
*/