rpa::probe_range_aux< Iter, IterCat > Struct Template Reference

Does the same as 'probe', but repetitively on a range of iterators. More...

#include <testing.h>

List of all members.

Static Public Member Functions

static void test (const Iter &aBeg, const Iter &aEnd)
static void test (Iter aBeg, size_t aDist)


Detailed Description

template<class Iter, class IterCat>
struct rpa::probe_range_aux< Iter, IterCat >

Does the same as 'probe', but repetitively on a range of iterators.


Member Function Documentation

template<class Iter, class IterCat>
static void rpa::probe_range_aux< Iter, IterCat >::test ( Iter  aBeg,
size_t  aDist 
) [inline, static]

This member tries to dereference a given number of elements, starting from the input iterator. The goal is to check whether this interval is valid.

This, to avoid a compiler warning.

template<class Iter, class IterCat>
static void rpa::probe_range_aux< Iter, IterCat >::test ( const Iter &  aBeg,
const Iter &  aEnd 
) [inline, static]

This member tries to dereference all the elements in this interval of iterators (Except the last iterator, as usual in STL). The goal is to check whether this interval is valid.

This, to avoid a compiler warning.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 10:20:39 2007 for rpa by  doxygen 1.4.7