On Sat, Mar 25, 2006 at 03:16:15PM -0600, Bo Peng wrote: + // paragraphs is now RandomAccessList + // so simple paragraphs[pit] is not allowed. + ParIterator it = b->par_iterator_begin(); + ParIterator const end = b->par_iterator_end(); + for (; it != end; ++it) + if (it.pit() == pit) {
Doesn't it = boost::next(b->par_iterator_begin(), pit) work here? - Martin
pgpssnk4qqsX5.pgp
Description: PGP signature