Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-07-18 08:06:59


Janek Kozicki wrote:

> boost::tokenizer<>::iterator pos=tok.begin();
>- is this IMO bad design intentional?
>
>
Boost.Tokenizer is written as to model an iterator. Have you even seen
an iterator throw an exception on reaching the end of the sequence?

So yes, the design is probably intentional.

Sebastian Redl


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk