# std::experimental::observer_ptr<W>::operator element_type*

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

Provides an explicit conversion to the type of the stored pointer.

## Official Specification Summary (cppreference)

```cpp
constexpr explicit operator element_type*() const noexcept; // (library fundamentals TS v2)
```

Provides an explicit conversion to the type of the stored pointer.

### Parameters

(none)

### Return value

A pointer to the watched object, i.e., `get()`.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`get`](https://en.cppreference.com/w/cpp/experimental/observer_ptr/get): returns a pointer to the watched object (public member function)

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