See the first comparator merge overload above.
Synopsis
Declared in <bslstl_list.h>
template<class COMPARE>
void
merge(
BloombergLP::bslmf::MovableRef<list> other,
COMPARE comparator);
Parameters
Name |
Description |
other |
sorted list to merge into this list |
comparator |
binary predicate used to order elements |
Created with MrDocs