Skip to content
MapInitWithDeepCopyT

MapInitWithDeepCopyT

Description

Typed initializer with deep-copy callbacks for keys and values.

Success

Returns a value of type TYPE_OF(m) initialized with the given key/value deep-copy callbacks and linear probing.

Failure

Function cannot fail.

Usage example (Cross-references)

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