You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2023. It is now read-only.
struct is_gadget<T, typename T::QtGadgetHelper> : public std::true_type {};
template <class T>
struct is_object : public std::false_type {};
template <class T>
struct is_object<T*> : public std::is_base_of<QObject, T> {};
template <typename T>
struct is_storable : public is_gadget<T> {};
template <typename T>
struct is_storable<T*> : public std::is_base_of<QObject, T> {};
}
}
#define QTDATASYNC_STORE_ASSERT(T) static_assert(__helpertypes::is_storable<T>::value, "Only Q_GADGETS or pointers to QObject extending classes can be stored")