Exchange the values of the specified lhs and rhs optional objects.
Synopsis
Declared in <bslstl_optional.h>
template<class t_TYPE>
constexpr
void
swap(
std::optional<t_TYPE>& lhs,
bsl::optional<t_TYPE>& rhs)
requires !BloombergLP::bslma::UsesBslmaAllocator<t_TYPE>::value;
Created with MrDocs