src/cx/list.h

changeset 1466
a58c65d31342
parent 1465
dc886f1a6155
equal deleted inserted replaced
1465:dc886f1a6155 1466:a58c65d31342
987 * Clones elements from a list only if they are not present in another list. 987 * Clones elements from a list only if they are not present in another list.
988 * 988 *
989 * If the @p minuend does not contain duplicates, this is equivalent to adding 989 * If the @p minuend does not contain duplicates, this is equivalent to adding
990 * the set difference to the destination list. 990 * the set difference to the destination list.
991 * 991 *
992 * If the destination list already contains elements, the difference
993 * (@p dst + @p minuend) - @p subtrahend is calculated.
994 * New items for @p dst are always appendend to the list, which means that the
995 * destination list is not necessarily sorted.
996 *
997 * This function is optimized for the case when both the @p minuend and the 992 * This function is optimized for the case when both the @p minuend and the
998 * @p subtrahend are sorted. 993 * @p subtrahend are sorted.
999 * 994 *
1000 * @param dst the destination list 995 * @param dst the destination list
1001 * @param minuend the list to subtract elements from 996 * @param minuend the list to subtract elements from

mercurial