23 template<
class T,
class deleter_t = std::default_delete<T>>
33 template<
class T,
class... constructor_args_t>
45 template<
class T,
class deleter_t,
class... constructor_args_t>
51 template<
class T,
class... args_t>
59 template<
class _T,
class... _constructor_args_t>
62 template<
class _T,
class _deleter_t,
class... _constructor_args_t>
65 _constructor_args_t&&... args);
69 using original_pointer_type =
typename super::original_pointer_type;
70 using element_type =
typename super::element_type;
71 using pointer =
typename super::pointer;
72 using reference =
typename super::reference;
80 template<
class... constructor_args_t>
unique_ref< T, deleter_t > make_unique_ref_with_deleter(deleter_t deleter, constructor_args_t &&... args)
Make a unique ref with a custom deleter.
unique_ref< T > make_unique_ref(constructor_args_t &&... args)
Make a unique ref (same as std::make_unique but for qx::unique_ref)