|
template<class t_INPUT_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR > |
t_OUTPUT_ITERATOR | bslstl::AlgorithmUtil::copyNImp (t_INPUT_ITERATOR first, t_SIZE count, t_OUTPUT_ITERATOR result, const bsl::input_iterator_tag &) |
|
template<class t_RANDOM_ACCESS_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR > |
t_OUTPUT_ITERATOR | bslstl::AlgorithmUtil::copyNImp (t_RANDOM_ACCESS_ITERATOR first, t_SIZE count, t_OUTPUT_ITERATOR result, const bsl::random_access_iterator_tag &) |
|
template<class CONTAINER , class PREDICATE > |
CONTAINER::size_type | bslstl::AlgorithmUtil::containerEraseIf (CONTAINER &container, PREDICATE predicate) |
|
template<class t_INPUT_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR > |
t_OUTPUT_ITERATOR | bslstl::AlgorithmUtil::copyN (t_INPUT_ITERATOR first, t_SIZE count, t_OUTPUT_ITERATOR result) |
|
Outline
Purpose
Provide implementations for algorithms not in the system library.
Classes
Canonical header: bsl_algorithm.h
- See also
- bsl+bslhdrs
Description
This component is for internal use only. Please include <bsl_algorithm.h>
instead. This component provides a namespace for implementations for standard algorithms that are not provided by the underlying standard library implementation. For example, any_of
is a C++11 algorithm, and it is provided here for code using C++03.
Usage
This component is for use by the bsl+bslhdrs
package. Use bsl_algorithm.h
directly.
◆ containerEraseIf()
template<class CONTAINER , class PREDICATE >
CONTAINER::size_type bslstl::AlgorithmUtil::containerEraseIf |
( |
CONTAINER & |
container, |
|
|
PREDICATE |
predicate |
|
) |
| |
|
inline |
◆ copyN()
template<class t_INPUT_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR >
t_OUTPUT_ITERATOR bslstl::AlgorithmUtil::copyN |
( |
t_INPUT_ITERATOR |
first, |
|
|
t_SIZE |
count, |
|
|
t_OUTPUT_ITERATOR |
result |
|
) |
| |
|
inline |
◆ copyNImp() [1/2]
template<class t_INPUT_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR >
t_OUTPUT_ITERATOR bslstl::AlgorithmUtil::copyNImp |
( |
t_INPUT_ITERATOR |
first, |
|
|
t_SIZE |
count, |
|
|
t_OUTPUT_ITERATOR |
result, |
|
|
const bsl::input_iterator_tag & |
|
|
) |
| |
|
inline |
◆ copyNImp() [2/2]
template<class t_RANDOM_ACCESS_ITERATOR , class t_SIZE , class t_OUTPUT_ITERATOR >
t_OUTPUT_ITERATOR bslstl::AlgorithmUtil::copyNImp |
( |
t_RANDOM_ACCESS_ITERATOR |
first, |
|
|
t_SIZE |
count, |
|
|
t_OUTPUT_ITERATOR |
result, |
|
|
const bsl::random_access_iterator_tag & |
|
|
) |
| |
|
inline |