std::experimental::observer_ptr<W>::operator*, std::experimental::observer_ptr<W>::operator->

operator* and operator-> provide access to the object watched by *this.

# Declarations

constexpr std::add_lvalue_reference_t<element_type> operator*() const;

(library fundamentals TS v2)

constexpr element_type* operator->() const noexcept;

(library fundamentals TS v2)

# Return value

  1. Returns the object watched by *this, equivalent to *get().

# Example

This section is incompleteReason: no example

# See also