Template Class unique_impl_ptr
Defined in File impl_ptr.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Derived Type
public rmf_utils::impl_ptr< Implementation >
(Template Class impl_ptr)
Class Documentation
-
template<class T, class Deleter = details::default_deleter_t<T>>
class unique_impl_ptr Subclassed by rmf_utils::impl_ptr< Implementation >
Public Types
-
using unique_ptr_type = std::unique_ptr<T, deleter_type>
-
using is_default_manageable = details::is_default_manageable<T, deleter_type>
Public Functions
-
inline constexpr unique_impl_ptr() noexcept
-
inline constexpr unique_impl_ptr(std::nullptr_t) noexcept
-
template<class D>
inline unique_impl_ptr(pointer p, D &&d, typename std::enable_if<std::is_convertible<D, deleter_type>::value, dummy_t_>::type = dummy_t_()) noexcept
-
template<class U>
inline unique_impl_ptr(U *u, typename std::enable_if<std::is_convertible<U*, pointer>::value && is_default_manageable::value, dummy_t_>::type = dummy_t_()) noexcept
-
unique_impl_ptr(unique_impl_ptr &&r) noexcept = default
-
template<class U>
inline unique_impl_ptr(std::unique_ptr<U> &&u, typename std::enable_if<std::is_convertible<U*, pointer>::value && is_default_manageable::value, dummy_t_>::type = dummy_t_()) noexcept
-
template<class U, class D>
inline unique_impl_ptr(std::unique_ptr<U, D> &&u, typename std::enable_if<std::is_convertible<U*, pointer>::value && std::is_convertible<D, deleter_type>::value, dummy_t_>::type = dummy_t_()) noexcept
-
template<class U, class D>
inline unique_impl_ptr(unique_impl_ptr<U, D> &&u, typename std::enable_if<std::is_convertible<U*, pointer>::value && std::is_convertible<D, deleter_type>::value, dummy_t_>::type = dummy_t_()) noexcept
-
unique_impl_ptr(const unique_impl_ptr<T, Deleter>&) = delete
-
unique_impl_ptr &operator=(unique_impl_ptr &&r) noexcept = default
-
template<class U>
inline std::enable_if<std::is_convertible<U*, pointer>::value && is_default_manageable::value, unique_impl_ptr&>::type operator=(std::unique_ptr<U> &&u) noexcept
-
reference operator=(const unique_impl_ptr<T, Deleter>&) = delete
-
inline const_reference operator*() const
-
inline const_pointer operator->() const noexcept
-
inline const_pointer get() const noexcept
-
inline void swap(unique_impl_ptr &u) noexcept
-
inline unique_ptr_type release_unique() noexcept
-
inline explicit operator bool() const noexcept
-
inline std::remove_reference<deleter_type>::type &get_deleter() noexcept
-
inline const std::remove_reference<deleter_type>::type &get_deleter() const noexcept
Protected Attributes
-
unique_ptr_type ptr_
-
using unique_ptr_type = std::unique_ptr<T, deleter_type>