Range-related algorithms. More...
#include <oglplus/config/basic.hpp>#include <oglplus/detail/base_range.hpp>Go to the source code of this file.
Classes | |
| class | oglplus::Range |
| Wrapper class for all ranges that can be used for Element traversal. More... | |
| struct | oglplus::ranges::IsRange< Range > |
| Metafunction for checking if a type conforms to the oglplus::Range concept. More... | |
| class | oglplus::ranges::AnyRange< Element > |
| A type erasure for types conforming to the oglplus::Range concept. More... | |
Namespaces | |
| oglplus | |
| All definitions of OGLplus are nested in the oglplus namespace. | |
| oglplus::ranges | |
| The range algorithms are defined in this namespace. | |
Functions | |
| template<typename Range , typename Func > | |
| Func | oglplus::ranges::ForEach (Range range, Func func) |
Executes a functor on every element in a range. | |
| template<typename Range > | |
| Range | oglplus::ranges::Find (Range range, typename Range::ValueType value) |
| Finds the specified value in a range. More... | |
| template<typename Range , typename Predicate > | |
| Range | oglplus::ranges::FindIf (Range range, Predicate predicate) |
| Finds the first a value satisfying a predicate in a range. More... | |
| template<typename Range , typename Transf > | |
| Transformed< Range, Transf > | oglplus::ranges::Transform (Range range, Transf transf) |
| Transforms a range by an unary function. More... | |
| template<typename Range , typename State , typename Op > | |
| State | oglplus::ranges::Fold (Range range, State state, Op op) |
| Folds the range by using a binary functor and a state value. More... | |
| template<typename Range , typename Predicate > | |
| Filtered< Range, Predicate > | oglplus::ranges::OnlyIf (Range range, Predicate pred) |
| Returns a range containing only elements satisfying a predicate. More... | |
Range-related algorithms.
Copyright 2010-2014 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)