13 template<
class T,
class... constructor_args_t>
18 std::make_shared<T>(std::forward<constructor_args_t>(args)...));
24 template<
class T,
class... args_t>
25 void smart_ptr_ref_adapter<std::shared_ptr, T, args_t...>::reset(smart_ptr_ref_adapter other) noexcept
27 *
this = std::move(other);
30 template<
class T,
class... args_t>
31 typename smart_ptr_ref_adapter<std::shared_ptr, T, args_t...>::original_pointer_type smart_ptr_ref_adapter<
34 args_t...>::to_shared_ptr()
39 template<
class T,
class... args_t>
40 template<
class... constructor_args_t>
41 smart_ptr_ref_adapter<std::shared_ptr, T, args_t...>::smart_ptr_ref_adapter(private_token, constructor_args_t&&... args)
42 : super(std::forward<constructor_args_t>(args)...)
shared_ref< T > make_shared_ref(constructor_args_t &&... args)
Make a unique ref (same as std::make_shared but for qx::shared_ref)