# std::experimental::unique_resource<R, D>::get

> C++ Atlas: `cppatlas.com/w/cpp/experimental/unique_resource/get` | Source: https://en.cppreference.com/w/cpp/experimental/unique_resource/get | Domain: Technical specifications

Accesses the underlying resource handle.

## Official Specification Summary (cppreference)

```cpp
const R& get() const noexcept; // (library fundamentals TS v3)
```

Accesses the underlying resource handle.

### Parameters

(none)

### Return value

The underlying resource handle.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`operator*`](https://en.cppreference.com/w/cpp/experimental/unique_resource/operator*), [`operator->`](https://en.cppreference.com/w/cpp/experimental/unique_resource/operator*): accesses the pointee if the resource handle is a pointer (public member function)
- [`get`](https://en.cppreference.com/w/cpp/memory/unique_ptr/get): returns a pointer to the managed object (public member function of `std::unique_ptr<T,Deleter>`)

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/unique_resource/get (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.