halcheck 1.0
Loading...
Searching...
No Matches

◆ swap

template<typename T >
template<bool _ = true>
void swap ( lib::optional< T > & lhs,
lib::optional< T > & rhs )
friend

An implementation of std::swap for optional.

See also
std::swap