Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
4.5.2
-
None
Description
It would be nice to have a template replacing the macro Q_ARG.
template <class ArgType>
static QArgument<ArgType> qArgHelper(const ArgType& arg)
{
return QArgument<ArgType>( QMetaType::typeName( qMetaTypeId<ArgType>() ), arg );
}