Swap the specified a with the specified b using a.swap(b) expression.
Synopsis
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);
Parameters
Name |
Description |
a |
first synchronized buffer to exchange |
b |
second synchronized buffer to exchange |
Created with MrDocs