13 static constexpr bool test(...) {
return false; }
15 static constexpr bool ret =
test(
static_cast<T*
>(
nullptr));
17 template<typename T,bool isRefCountBase = IsRefCountBase<T>::ret>
RefCountPolicy< T > m_policy
SharePtr(const SharePtr &other)
SharePtr & operator=(const SharePtr &other)
RefCountPolicy< T > m_policy
WeakPtr(const SharePtr< T > &other)
static constexpr bool test(...)
static constexpr bool test(const RefCount *)
static constexpr bool ret