=====merge===== Syntax: #include void merge( list& other ); void merge( list& other, BinPred compfunction ); The function merge() merges all elements of ''other'' into ''*this'', making ''other'' empty. The resulting list is ordered with respect to the < operator. If compfunction is specified, then it is used as the comparison function for the lists instead of <. merge() runs in [[/complexity|linear time]]. Related Topics: [[list_operators]], [[insert]], [[splice]]