1 2 3 4 5 6
template < typename T> struct foo {}; Q_DECLARE_METATYPE( foo < int> ) int bar( foo <int > );