Namespaces
Variants
Views
Actions

std::experimental::observer_ptr::operator pointer

From cppreference.com
constexpr explicit operator std::add_pointer_t<W>() const;
(library fundamentals TS v2)

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

Contents

[edit] Parameters

(none)

[edit] Return value

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

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Example

[edit] See also

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