So that it allows overloading. Also move the type T declaration into the function scope, as it could never be used as a constraint anyway, and we do not want users to pass custom type there. Amends 0c707c6ebece18677deaccccdfec5d48c587106f. Found in 6.9 API review. Change-Id: I086d65bdef7be2f9e0e67e96cc8a9ac76eaa5b0f Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit f1d2d47f609cfb3c4cf9b2a86072613b3c9e0642) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%