Next: Data Type Specific Arithmetic Index Functions, Previous: Data Type Specific Index Back Functions, Up: The Index Library [Index]
integer is_g_<type-name>(<type> &d, index i, integer a, integer &k);
is zero if the i index defines no position (maps no key) after a, non zero otherwise. In the latter case k is set to the first position after a and d to its associated data.
integer is_l_<type-name>(<type> &d, index i, integer a, integer &k);
is zero if the i index defines no position (maps no key) before a, non zero otherwise. In the latter case k is set to the last position before a and d to its associated data.
integer is_o_<type-name>(<type> &d, index i, integer a, integer &k);
is zero if the i index defines no position (maps no key) less or equal to a, non zero otherwise. In the latter case k is set to the last not greater position and the first argument to its associated data.
integer is_u_<type-name>(<type> &d, index i, integer a, integer &k);
is zero if the i index defines no position (maps no key) greater or equal to a, non zero otherwise. In the latter case k is set to the first not less position and the first argument to its associated data.