OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ranges Namespace Reference

The range algorithms are defined in this namespace. More...

Classes

struct  IsRange
 Metafunction for checking if a type conforms to the oglplus::Range concept. More...
 
class  AnyRange
 A type erasure for types conforming to the oglplus::Range concept. More...
 

Functions

template<typename Range , typename Func >
Func ForEach (Range range, Func func)
 Executes a functor on every element in a range.
 
template<typename Range >
Range Find (Range range, typename Range::ValueType value)
 Finds the specified value in a range. More...
 
template<typename Range , typename Predicate >
Range 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 > Transform (Range range, Transf transf)
 Transforms a range by an unary function. More...
 
template<typename Range , typename State , typename Op >
State 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 > OnlyIf (Range range, Predicate pred)
 Returns a range containing only elements satisfying a predicate. More...
 

Detailed Description

The range algorithms are defined in this namespace.


Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).