26#ifndef MYSQL_HARNESS_UNIQUEPTR_INCLUDED
27#define MYSQL_HARNESS_UNIQUEPTR_INCLUDED
79 UniquePtr(T *ptr, std::function<
void(T *)> deleter = std::default_delete<T>())
98 std::unique_ptr<T, std::function<void(T *)>>::operator=(std::move(other));
Definition: unique_ptr.h:75
UniquePtr & operator=(UniquePtr< T > &&other)
Definition: unique_ptr.h:94
T * release()
Definition: unique_ptr.h:121
UniquePtr(UniquePtr< T > &&other)
Definition: unique_ptr.h:83
UniquePtr< T >::deleter_type get_deleter()
Definition: unique_ptr.h:127
bool get_deleter_called_
Definition: unique_ptr.h:133
UniquePtr & operator=(const UniquePtr< T > &)=delete
UniquePtr(const UniquePtr< T > &)=delete
UniquePtr(T *ptr, std::function< void(T *)> deleter=std::default_delete< T >())
Definition: unique_ptr.h:79
Definition: gcs_xcom_synode.h:64
std::conditional_t< !std::is_array< T >::value, std::unique_ptr< T, detail::Deleter< T > >, std::conditional_t< detail::is_unbounded_array_v< T >, std::unique_ptr< T, detail::Array_deleter< std::remove_extent_t< T > > >, void > > unique_ptr
The following is a common type that is returned by all the ut::make_unique (non-aligned) specializati...
Definition: ut0new.h:2440