Exchange the value of this with that of the specified other. If an exception is thrown, both objects are left in valid but unspecified states. This operation guarantees O[1]complexity. The behavior is undefined unless this object was created with the same allocator as other.

Synopsis

Declared in <bdljsn_json.h>

void
swap(Json& other);

Created with MrDocs