#include struct Trivial {}; void test(QSharedPointer) {} void test(const QSharedPointer &) {} void test(const Trivial &) {}