Swap the specified a with the specified b using a.swap(b) expression.
Declared in <bslstl_syncbuf.h>
template<
class CHAR,
class TRAITS,
class ALLOCATOR>
void
swap(
basic_syncbuf<CHAR, TRAITS, ALLOCATOR>& a,
basic_syncbuf<CHAR, TRAITS, ALLOCATOR>& b);
| Name | Description |
|---|---|
| a | first synchronized buffer to exchange |
| b | second synchronized buffer to exchange |