std::experimental::observer_ptr::operator element_type* - cppreference.com (original) (raw)

| constexpr explicit operator element_type*() const noexcept; | | (library fundamentals TS v2) | | ------------------------------------------------------------- | | ---------------------------- |

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

[edit] Parameters

(none)

[edit] Return value

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

[edit] Example

[edit] See also

| | returns a pointer to the watched object (public member function) [edit] | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |