Skip to content

MapSetFirstR

MapSetFirstR

Description

Replace the first value stored for a key using r-value semantics.

Parameters

Name Direction Description
m in,out Hash map.
key in Key to search for.
value in Replacement value.

Usage example (Cross-references)

Usage examples (Cross-references)
        MapInsertR(&map, 1, 11);
        MapInsertR(&map, 1, 12);
        MapSetFirstR(&map, 1, 100);
    
        bool result = (MapPairCount(&map) == 3);
Last updated on