Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslstl::AlgorithmUtil Struct Reference

#include <bslstl_algorithm.h>

List of all members.

Static Public Member Functions

template<class CONTAINER , class PREDICATE >
static CONTAINER::size_type containerEraseIf (CONTAINER &container, PREDICATE predicate)

Detailed Description

Provide a namespace for implementing helper routines for algorithm implementations.

See Component bslstl_algorithm


Member Function Documentation

template<class CONTAINER , class PREDICATE >
static CONTAINER::size_type bslstl::AlgorithmUtil::containerEraseIf ( CONTAINER &  container,
PREDICATE  predicate 
) [static]

Erase all the elements in the specified container container that satisfy the specified predicate predicate. Return the number of elements erased.


The documentation for this struct was generated from the following file: