Exchange the value of this object with other.

Synopsis

Declared in <bslstl_syncbuf.h>

void
swap(basic_syncbuf& other);

Description

Efficiently exchange the value of this object with the value of the specified other object. The behavior is undefined unless either *this and other allocators compare equal or propagate_on_container_swap is true.

Parameters

Name

Description

other

object with which to exchange values

Created with MrDocs