Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-12-04 16:26:13


nbecker_at_[hidden] wrote:
>
> I suspect the problem is the removal of the iterator. It used to be
> the iterator used operator++ in the constructor, so this caused the
> underlying rng to be called one more time?

Uh, that's right indeed. When using the iterator interface, we
needed to initialize everything in the constructor to make
sure that the first call to operator* did return a useful
value.

I've updated the change notes for 1.26.0 once more.

Jens Maurer


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