std::experimental::unique_resource<R, D>::operator*, std::experimental::unique_resource<R, D>::operator->

  1. Access the object or function pointed by the underlying resource handle which is a pointer. This function participates in overload resolution only if std::is_pointer_v is true and std::is_void_v<std::remove_pointer_t> is false. If the resource handle is not pointing to an object or a function, the behavior is undefined.

# Declarations

std::add_lvalue_reference_t<std::remove_pointer_t<R>>
operator*() const noexcept;

(library fundamentals TS v3)

R operator->() const noexcept;

(library fundamentals TS v3)

# Example

This section is incompleteReason: no example

# See also