Exchange the values of the specified a and b objects.

Synopsis

Declared in <bdljsn_jsonnull.h>

void
swap(
    JsonNull& a,
    JsonNull& b);

Description

This exception provides the no‐throw exception‐safety guarantee. Note that, since a and b have the same value (a class invariant), this operation is a no‐op.

Parameters

Name

Description

a

first object to exchange

b

second object to exchange

Created with MrDocs