diff options
-rw-r--r-- | src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp | 5 | ||||
-rw-r--r-- | src/corelib/global/qoverload.qdoc | 10 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp b/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp index ff5f48b914..d31b62e488 100644 --- a/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp @@ -621,11 +621,6 @@ template<> class QTypeInfo<A> : public QTypeInfoMerger<A, B, C, D> {}; ... qOverload<int, const QString &>(&Foo::overloadedFunction) //! [52] -//! [53] - ... QOverload<>::of(&Foo::overloadedFunction) - ... QOverload<int, const QString &>::of(&Foo::overloadedFunction) -//! [53] - //! [54] struct Foo { void overloadedFunction(int, const QString &); diff --git a/src/corelib/global/qoverload.qdoc b/src/corelib/global/qoverload.qdoc index 3e1744ea07..f11e266483 100644 --- a/src/corelib/global/qoverload.qdoc +++ b/src/corelib/global/qoverload.qdoc @@ -14,16 +14,6 @@ If a member function is also const-overloaded \l qConstOverload and \l qNonConstOverload need to be used. - qOverload() requires C++14 enabled. In C++11-only code, the helper - classes QOverload, QConstOverload, and QNonConstOverload can be used directly: - - \snippet code/src_corelib_global_qglobal.cpp 53 - - \note Qt detects the necessary C++14 compiler support by way of the feature - test recommendations from - \l{https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations} - {C++ Committee's Standing Document 6}. - \sa qConstOverload(), qNonConstOverload(), {Differences between String-Based and Functor-Based Connections} */ |