Skip to content
MapInitWithPolicyT

MapInitWithPolicyT

Description

Typed initializer with explicit probing policy.

Success

Returns a value of type TYPE_OF(m) initialized with the given key callbacks and explicit probing policy.

Failure

Function cannot fail.

Usage example (Cross-references)

Usage examples (Cross-references)
    #    define MapInitWithValueCompareT(m, hash_fn, compare_fn, value_compare_fn)                                         \
            ((TYPE_OF(m))MapInitWithValueCompare((hash_fn), (compare_fn), (value_compare_fn)))
    #    define MapInitWithPolicyT(m, hash_fn, compare_fn, policy_value)                                                   \
            ((TYPE_OF(m))MapInitWithPolicy((hash_fn), (compare_fn), (policy_value)))
    #    define MapInitWithValueCompareAndPolicyT(m, hash_fn, compare_fn, value_compare_fn, policy_value)                  \
Last updated on