Boost logo

Boost :

From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2001-08-27 10:07:08

----- Original Message -----
From: David Abrahams <david.abrahams_at_[hidden]>
To: Boost_at_Yahoogroups. Com <boost_at_[hidden]>
Sent: Monday, August 27, 2001 11:12 AM
Subject: Re: [boost] stride_iterator_policy

> An intersting fact about striding over matrices: to avoid undefined
> you usually need to allocate an extra row (or column) so that there's a
> valid end iterator position.
I don't follow you here.

What would be the value of that extra row or column? I figure that the
iterator could recognize that it reached the end of a row/column by
recognizing this *special* value, but since there is no way to determine
which value can be used to signal this I don't see how allocating an extra
row/col would work.

Fernando Cacciola
Sierra s.r.l.

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