Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Data Structures | Namespaces | Functions
foreach.hpp File Reference
#include <tuple>
#include <utility>
#include <extensions/container/tuple.hpp>
Include dependency graph for foreach.hpp:

Go to the source code of this file.

Data Structures

class  ext::const_tuple_foreach_iterator< Iterators >
 A class for packing a tuple of iterators and synchronizing them. All are incremented, decremented, dereferenced together. More...
 
class  ext::const_tuple_foreach< Types >
 Class providing begin and end methods to allow simple use of packed iterators in foreach variant of the for loop. More...
 
class  ext::virtual_pointer_to_integer< IntegralType >
 Class wrapping an integral type, but with pointer iterface. More...
 
class  ext::sequence< IntegralType >
 Representation of integer sequence usable in foreach form of for loop. More...
 

Namespaces

namespace  ext
 

Functions

template<class ... Iterators>
const_tuple_foreach_iterator< Iterators ... > ext::make_tuple_foreach_iterator (Iterators ... its)
 Function construction of the tuple iterator. More...
 
template<class ... Types>
const_tuple_foreach< Types ... > ext::make_tuple_foreach (const Types &... args)
 Function construction of foreach tuple pack helper. More...