BloombergLP::bdlb::swap

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee.

Synopsis

Declared in <bdlb_nullableallocatedvalue_pointerbitspair.h>

template<
    class t_TYPE,
    unsigned int t_NUM_BITS>
void
swap(
    NullableAllocatedValue_PointerBitsPair<t_TYPE, t_NUM_BITS>& a,
    NullableAllocatedValue_PointerBitsPair<t_TYPE, t_NUM_BITS>& b);