std::experimental::observer_ptr<W>::get

Returns a pointer to the watched object or nullptr if no object is watched.

# Declarations

constexpr element_type* get() const noexcept;

(library fundamentals TS v2)

# Return value

Pointer to the watched object or nullptr if no object is watched.

# Example

This section is incompleteReason: no example

# See also