BloombergLP::bdljsn::JsonNumber::swap

Efficiently exchange the value of this object with that of other.

Synopsis

Declared in <bdljsn_jsonnumber.h>

void
swap(JsonNumber& other);

Description

This method provides the no-throw exception-safety guarantee. The behavior is undefined unless this object was created with the same allocator as other.

Parameters

NameDescription
otherobject with which to exchange values