swap overloads
Declared in <bdljsn_error.h>
Exchange the values of the specified a and b objects.
void
swap(
Error& a,
Error& b);
» more...
Exchange the values of the specified a and b objects.
void
swap(
Json& a,
Json& b);
» more...
Exchange the values of the specified a and b arrays.
void
swap(
JsonArray& a,
JsonArray& b);
» more...
Exchange the values of the specified a and b objects.
void
swap(
JsonNull& a,
JsonNull& b);
» more...
Exchange the values of the specified a and b objects.
void
swap(
JsonNumber& a,
JsonNumber& b);
» more...
Exchange the values of the specified a and b objects.
void
swap(
JsonObject& a,
JsonObject& b);
» more...
Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee.
void
swap(
Location& a,
Location& b);
» more...
| Name | Description |
|---|---|
| a | first object |
| b | second object |