Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-07-18 10:10:41

Janek Kozicki wrote:

>However tokenizer::iterator is not a typical container nor typical
>iterator. It is even unusual that it checks for the iterator's validity
>(because trying to access beyond the container causes assert(valid_) to fail ).
MS debug iterators check their constraints - in debug mode. assert()
also only exists in debug mode.

>The rationale from typical container iterators makes no sense when
>applied to tokenizer::iterator, because iterating over tokenizer items
>is not fast - it requires parsing of the content.
The stream iterators don't throw either. (The underlying stream might
throw, though.)

Sebastian Redl

Boost list run by bdawes at, gregod at, cpdaniel at, john at