diff options
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
| -rw-r--r-- | src/corelib/global/qglobal.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 3c9d9475779..796749c1463 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1217,57 +1217,6 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined"); \sa qMin(), qMax() */ -/*! \fn template <typename T> auto qOverload(T functionPointer) - \relates <QtGlobal> - \since 5.7 - - Returns a pointer to an overloaded function. The template - parameter is the list of the argument types of the function. - \a functionPointer is the pointer to the (member) function: - - \snippet code/src_corelib_global_qglobal.cpp 52 - - 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} -*/ - -/*! \fn template <typename T> auto qConstOverload(T memberFunctionPointer) - \relates <QtGlobal> - \since 5.7 - - Returns the \a memberFunctionPointer pointer to a constant member function: - - \snippet code/src_corelib_global_qglobal.cpp 54 - - \sa qOverload, qNonConstOverload, {Differences between String-Based - and Functor-Based Connections} -*/ - -/*! \fn template <typename T> auto qNonConstOverload(T memberFunctionPointer) - \relates <QtGlobal> - \since 5.7 - - Returns the \a memberFunctionPointer pointer to a non-constant member function: - - \snippet code/src_corelib_global_qglobal.cpp 54 - - \sa qOverload, qNonConstOverload, {Differences between String-Based - and Functor-Based Connections} -*/ - /*! \macro QT_VERSION_CHECK(major, minor, patch) \relates <QtGlobal> |
