23.2.2 Lists (cont.)

Operations unique to list:

Operation Description
merge(list) Merge the current (sorted) list with the (sorted) argument list
remove(value) Remove all instances of the given value
remove(pred) Remove values for which pred returns true
reverse() Reverse order of elements
sort() Place the values into sorted order
sort(comp) Place values in order using comp
splice(iter, list) Splices argument list into the list at given location
unique() Remove duplicate copies of values from sorted list
unique(pred) Remove duplicate values from list sorted w/pred

prev |top |next