Home | History | Annotate | Download | only in include

Lines Matching full:default_delete

209 struct default_delete
211 constexpr default_delete() noexcept = default;
212 template <class U> default_delete(const default_delete<U>&) noexcept;
218 struct default_delete<T[]>
220 constexpr default_delete() noexcept = default;
225 template <class T, class D = default_delete<T>>
2415 // default_delete
2418 struct _LIBCPP_TYPE_VIS_ONLY default_delete
2421 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR default_delete() _NOEXCEPT = default;
2423 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR default_delete() _NOEXCEPT {}
2426 _LIBCPP_INLINE_VISIBILITY default_delete(const default_delete<_Up>&,
2430 static_assert(sizeof(_Tp) > 0, "default_delete can not delete incomplete type");
2431 static_assert(!is_void<_Tp>::value, "default_delete can not delete incomplete type");
2437 struct _LIBCPP_TYPE_VIS_ONLY default_delete<_Tp[]>
2441 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR default_delete() _NOEXCEPT = default;
2443 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR default_delete() _NOEXCEPT {}
2446 _LIBCPP_INLINE_VISIBILITY default_delete(const default_delete<_Up[]>&,
2453 static_assert(sizeof(_Tp) > 0, "default_delete can not delete incomplete type");
2454 static_assert(!is_void<_Tp>::value, "default_delete can not delete incomplete type");
2459 template <class _Tp, class _Dp = default_delete<_Tp> >
2538 is_same<_Dp, default_delete<_Tp> >::value,
2592 is_same<_Dp, default_delete<_Tp> >::value,
4040 typedef __shared_ptr_pointer<_Yp*, default_delete<_Yp>, allocator<_Yp> > _CntrlBlk;
4041 __cntrl_ = new _CntrlBlk(__p, default_delete<_Yp>(), allocator<_Yp>());
4217 typedef __shared_ptr_pointer<_Yp*, default_delete<_Yp>, allocator<_Yp> > _CntrlBlk;
4218 __cntrl_ = new _CntrlBlk(__r.get(), default_delete<_Yp>(), allocator<_Yp>());