Skip to content
MapMustInsertR

MapMustInsertR

Description

Aborting variant of MapInsertR. See that macro for parameter semantics and success-state effects.

Success

Returns to the caller. The underlying MapInsertR call succeeded; see MapInsertR for the post-state.

Failure

Does not return - aborts via LOG_FATAL / SysAbort when the underlying MapInsertR call returns false.

Usage example (Cross-references)

Usage examples (Cross-references)
        do {                                                                                                               \
            if (!MapInsertR((m), (in_key), (in_value))) {                                                                  \
                LOG_FATAL("MapMustInsertR failed");                                                                        \
            }                                                                                                              \
        } while (0)
Last updated on