equal_range_N

Function Details

equal_range_N(const key_type &x,
    size_t &nelem) const
 

Find equal range and number of key/data pairs in the range.

This function also returns the number of elements within the returned range via the out parameter nelem.

Parameters

x

The target key to find.

nelem

The output parameter to take back the number of key/data pair in the returned range.

equal_range_N(const key_type &x, size_t &nelem,
    bool readonly=false)
 

Find equal range and number of key/data pairs in the range.

This function also returns the number of elements within the returned range via the out parameter nelem.

Parameters

x

The target key to find.

nelem

The output parameter to take back the number of key/data pair in the returned range.

readonly

Whether the returned iterator is readonly.

Group: Searching Functions

See of db_map's searching functions group for details about iterator, function version and parameters.

Class

db_multimap