![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
|
friend |
exchanges the values
Exchanges the contents of the JSON value from left with those of right. Does not invoke any move, copy, or swap operations on individual elements. All iterators and references remain valid. The past-the-end iterator is invalidated. implemented as a friend function callable via ADL.
[in,out] | left | JSON value to exchange the contents with |
[in,out] | right | JSON value to exchange the contents with |
@complexity Constant.
@liveexample{The example below shows how JSON values can be swapped with swap()
.,swap__reference}
Definition at line 23834 of file json.hpp.