Namespaces
Variants

std::basic_syncbuf<CharT,Traits,Allocator>:: swap

From cppreference.net
void swap ( basic_syncbuf & other ) ;

Intercambia el contenido del búfer del flujo sincronizado con el de other .

Parámetros

otro - sincronizar el búfer de flujo para intercambiar contenidos con

Valor de retorno

(ninguno)

Ejemplo