MapSwap
MapSwap
Description
Swap two maps of the same type.
Parameters
| Name | Direction | Description |
|---|---|---|
lhs |
in,out | First map. |
rhs |
in,out | Second map. |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Map.Ops.c:133:
result = result && (MapUniqueKeyCount(&first) == 2);
MapSwap(&first, &second);
result = result && MapContainsPair(&first, 9, 90);
Last updated on