26#ifndef MYSQL_HARNESS_MAKE_SHARED_PTR_INCLUDED
27#define MYSQL_HARNESS_MAKE_SHARED_PTR_INCLUDED
39 template <
typename... Args>
41 ptr = std::make_shared<T>(std::forward<Args>(args)...);
49 operator std::shared_ptr<Z>() {
54 operator const std::shared_ptr<Z>()
const {
Definition: make_shared_ptr.h:35
shared_ptr copy_base()
Definition: make_shared_ptr.h:66
T * get() const
Definition: make_shared_ptr.h:58
MakeSharedPtr(Args &&...args)
Definition: make_shared_ptr.h:40
T * operator->() const
Definition: make_shared_ptr.h:62
T & operator*() const
Definition: make_shared_ptr.h:60
shared_ptr ptr
Definition: make_shared_ptr.h:69
void reset(T *t)
Definition: make_shared_ptr.h:64
std::shared_ptr< T > shared_ptr
Definition: make_shared_ptr.h:37
#define T
Definition: jit_executor_value.cc:373