Exchange the values of the specified a and b objects. This function provides the no‐throw exception‐safety guarantee.

Synopsis

Declared in <bdljsn_location.h>

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

Parameters

Name

Description

a

first object

b

second object

Created with MrDocs