beman::optional::optional<T&>::swap

Swaps the contents of this optional with another.

Synopsis

Declared in <beman/optional/optional.hpp>
constexpr
void
swap(optional& rhs) noexcept;


Parameters

Name Description
rhs

Created with MrDocs