chsvlib
chsv helper source code

◆ CreateMultimapEx()

EXTERN_C HCHSVMAP Chusov::CreateMultimapEx ( PMAPCOMPAREFUNC  pfnCompare)
noexcept

Creates a multimap with the specified ordering predicate.

Parameters
[in]pfnCompareis an optional pointer to a user-defined function specifying ordering of elements. If the pointer is NULL the default ordering mechanism is used. See CreateMapEx for the details.
Returns
The function returns a handle to an instance of the created map. If the function fails it returns NULL. Use GetLastChsvError to get extended error information.
Remarks
The function behaves exactly as the CreateMapEx function with the specified compare function and multimap flag set to true.
Declared in chsvmap.h.