Skip to content
MapForeachValuePtr

MapForeachValuePtr

Description

Iterate over all stored values with pointers.

Parameters

Name Direction Description
m in,out Map to iterate over.
value_ptr in Name of pointer variable bound to each stored value.

Success

The loop body runs once per occupied slot with value_ptr bound to the in-slot value address. Use this form when the body mutates the stored value in place. The body is skipped when m is empty.

Failure

The macro itself does not fail. LOG_FATAL via ValidateMap(m) when m is uninitialised or corrupted.

Usage example (Cross-references)

Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on