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

#include <testing.h>

List of all members.

Static Public Member Functions

static void test (const Iter &anIt)


Detailed Description

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

Checks whether an iterator is valid, i.e. points to an accessible part of memory. The test is done simply by creating a temporary object by dereferencing the iterator. The copy constructor must therefore be without side effects.


Member Function Documentation

template<class Iter, class IterCat>
static void rpa::probe_aux< Iter, IterCat >::test ( const Iter &  anIt  )  [inline, static]

If the target ias not const, it would be an intersting extra test to write into this memory location.

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