stlsoft/algorithms/collection.hpp File Reference


Detailed Description

[C++ only] Whole collection algorithms (Algorithms Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/algorithms/std/alt.hpp>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Functions

template<typename C, typename V>
void fill_all (C &container, V const &value)
 Invokes std::for_each() on the range of items in a container.
template<typename T, size_t N, typename V>
void fill_all (T(&ar)[N], V const &value)
 Invokes std::for_each() on the range of items in an array.
template<typename C, typename UF>
UF for_all (C &container, UF func)
 Invokes std::for_each() on the range of items in a container.
template<typename T, size_t N, typename UF>
UF for_all (T(&ar)[N], UF func)
 Invokes std::for_each() on the range of items in an array.
template<typename C, typename UF>
UF for_all_r (C &container, UF func)
 Invokes std::for_each() on the reverse range of items in a container.
template<typename C, typename O>
copy_all (C &container, O dest)
 Invokes std::copy() on all the items in a container.
template<typename T, size_t N, typename O>
copy_all (T(&ar)[N], O dest)
 Invokes std::copy() on the range of items in an array.


Generated on Thu Jun 10 08:58:01 2010 for STLSoft by  doxygen 1.5.6