std::experimental::make_observer

Header: <experimental/memory>

Creates an observer_ptr object, deducing the template argument from the type of the function argument.

# Declarations

template< class W >
std::experimental::observer_ptr<W> make_observer( W* p ) noexcept;

(library fundamentals TS v2)

# Parameters

# Return value

A observer_ptr object, created as if by std::experimental::observer_ptr(p).

# Example

This section is incompleteReason: no example