[#BloombergLP-bdlb-swap-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::swap :relfileprefix: ../../ :mrdocs: Exchange the values of the specified `lhs` and `rhs` objects when `TYPE` does not use a `bslma::Allocator`. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void swap( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<TYPE>]& lhs, xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<TYPE>]& rhs) requires !BloombergLP::bslma::UsesBslmaAllocator<TYPE>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#