diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-07-29 19:05:32 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-08-01 12:40:45 +0200 |
commit | 950d761f81079e152203e5460a3c984e89d7e077 (patch) | |
tree | a05b0a289359f071cc3757d37b9c9c190e22dd8b /src | |
parent | f1b1773d0ae636fa9afa36224ba17566484af3cc (diff) |
Remove outdated docs for qOverload()
Change-Id: Ie641b1f7100e7053e1fe0299a0b2b0bd708326af
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-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} */ |