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 the specified count elements from the specified first to the specified result. Return an iterator pointing past the last copied element in the output range.