Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
array_it.H File Reference

Iterator wrapper for C++ raw arrays and circular buffers. More...

#include <cassert>
#include <tuple>
#include <aleph.H>
#include <ahDefs.H>
#include <htlist.H>
#include <ah-errors.H>
Include dependency graph for array_it.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Aleph::Array_Iterator< T >
 Iterator wrapper for C++ raw arrays. More...
 
class  Aleph::Array_Container< T >
 Lightweight wrapper that provides Aleph-w container interface for raw arrays. More...
 
struct  Aleph::Array_Container< T >::Iterator
 Iterator type for Array_Container. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Functions

template<typename T >
Array_Iterator< TAleph::get_array_it (const T *array, size_t n)
 Create an iterator for a raw array.
 
template<typename T >
Array_Container< TAleph::make_array_container (T *array, size_t n)
 Create an Array_Container from a raw array.
 

Detailed Description

Iterator wrapper for C++ raw arrays and circular buffers.

Provides Array_Iterator for iterating over raw C arrays with bounds checking, including support for circular array regions. Also provides Array_Container as a lightweight wrapper that makes a raw array compatible with Aleph-w's functional interfaces.

Author
Leandro Rabindranath León

Definition in file array_it.H.