Skip to content
MapInitWithValueCompareAndPolicyT

MapInitWithValueCompareAndPolicyT

Description

Typed initializer with value comparator and explicit probing policy.

Success

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

Failure

Function cannot fail.

Usage example (Cross-references)

Usage examples (Cross-references)
    #    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)                  \
            ((TYPE_OF(m))MapInitWithValueCompareAndPolicy((hash_fn), (compare_fn), (value_compare_fn), (policy_value)))
    #    define MapInitWithDeepCopyT(m, hash_fn, compare_fn, key_ci, key_cd, value_ci, value_cd)                           \
Last updated on