Project Euler Solutions
Classes | Typedefs | Functions
c::include::iterator Namespace Reference

Classes

struct  counter
 The reference struct for all iterators in this project. More...
 
struct  Iterator
 An implementation of Python-like iterators and generators in C. More...
 

Typedefs

typedef struct Iterator Iterator
 
typedef struct counter counter
 

Functions

void no_destructor (void *it)
 
static uintmax_t iterate_counter (counter *i)
 
counter count_by (uintmax_t start, uintmax_t stop, intmax_t step)
 
counter count_in_range (uintmax_t start, uintmax_t stop)
 
counter count_to (uintmax_t stop)
 

Typedef Documentation

Function Documentation

counter c::include::iterator::count_by ( uintmax_t  start,
uintmax_t  stop,
intmax_t  step 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

counter c::include::iterator::count_in_range ( uintmax_t  start,
uintmax_t  stop 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

counter c::include::iterator::count_to ( uintmax_t  stop)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

static uintmax_t c::include::iterator::iterate_counter ( counter i)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:

void c::include::iterator::no_destructor ( void *  it)
inline