std::experimental::observer_ptr<W>::swap

Swaps the watched object of *this and another observer_ptr object other, by invoking swap on the stored pointers of *this and other.

# Declarations

constexpr void swap( observer_ptr& other ) noexcept;

(library fundamentals TS v2)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example