From b41492d53e733e12351338e03ad471d39d81c0b1 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 1 Mar 2017 15:50:44 +0100 Subject: Doc: Remove references to pre-C++11 recommendations Compiler support for lambda functions and variadic templates is required since Qt 5.7, so no need to mention in the documentation what happens if the compiler doesn't support it. Change-Id: I5caeaa0bd7f0edce81e22e22964e0b7dd042c719 Reviewed-by: Marc Mutz --- src/corelib/doc/src/objectmodel/signalsandslots.qdoc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/corelib/doc/src/objectmodel') diff --git a/src/corelib/doc/src/objectmodel/signalsandslots.qdoc b/src/corelib/doc/src/objectmodel/signalsandslots.qdoc index 6366350cde..ed61511c62 100644 --- a/src/corelib/doc/src/objectmodel/signalsandslots.qdoc +++ b/src/corelib/doc/src/objectmodel/signalsandslots.qdoc @@ -364,9 +364,6 @@ connect(sender, &QObject::destroyed, [=](){ this->m_objects.remove(sender); }); \endcode - Note that if your compiler does not support C++11 variadic templates, - this syntax only works if the signal and slot have 6 arguments or less. - The other way to connect a signal to a slot is to use QObject::connect() and the \c{SIGNAL} and \c{SLOT} macros. The rule about whether to -- cgit v1.2.3