swap overloads
Synopses
Declared in <bdljsn_error.h>
Exchange the values of the specified a and b objects.
Exchange the values of the specified a and b objects.
Exchange the values of the specified a and b arrays.
Exchange the values of the specified a and b objects.
Exchange the values of the specified a and b objects.
void
swap(
JsonNumber& a,
JsonNumber& b);
Exchange the values of the specified a and b objects.
void
swap(
JsonObject& a,
JsonObject& b);
Exchange the values of the specified a and b objects. This function provides the no‐throw exception‐safety guarantee.
Parameters
Name |
Description |
a |
first object |
b |
second object |
Created with MrDocs