Doc: Hide template magic for MSVC from documentation

QT_POST_CXX17_API_IN_EXPORT_CLASS (introduced in commit e996253774)
works around a deficiency of MSVC by marking affected methods as
templated. Anyhow, this doesn't need to be reflected in the
documented API.

Pick-to: 6.4
Change-Id: I9d5dd8b979a84f2fecc582613c2e944bb33eb790
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Kai Köhne 2022-07-20 13:21:38 +02:00
parent fc5482cac6
commit 5961dbc0e2

View File

@ -1051,7 +1051,11 @@
* The workaround: declare such functions as function templates.
* (Obviously a function template does not need this marker.)
*/
#define QT_POST_CXX17_API_IN_EXPORTED_CLASS template <typename = void>
#ifndef Q_CLANG_QDOC
# define QT_POST_CXX17_API_IN_EXPORTED_CLASS template <typename = void>
#else
# define QT_POST_CXX17_API_IN_EXPORTED_CLASS
#endif
/*
* Warning/diagnostic handling