BloombergLP::bslstl::AlgorithmUtil

Provide a namespace for implementing helper routines for algorithm implementations.

Synopsis

Declared in <bslstl_algorithm.h>

struct AlgorithmUtil;

Static Member Functions

NameDescription
containerEraseIf Erase all the elements in the specified container container that satisfy the specified predicate predicate. Return the number of elements erased.
copyN Copy a counted range of elements to an output iterator.