Exchange the values of the specified lhs and rhs.

Synopsis

Declared in <bslfmt_format_arg.h>

void
swap(
    basic_format_arg& lhs,
    basic_format_arg& rhs);
Note

This function is a hidden friend of basic_format_arg<basic_format_context<t_OUT, t_CHAR>>, declared only inside that class: it can be found only through argument-dependent lookup.

Parameters

Name

Description

lhs

first format argument to exchange

rhs

second format argument to exchange

Created with MrDocs