Boost logo

Boost :

Subject: Re: [boost] [mpl][doc]bug: prior.html should have Bidirectional Iterator requirement.
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2009-04-06 00:58:31

Hi Larry,

> The prior.html document:
> says prior requirement is that Iterator be a Forward Iterator; yet,
> makes no mention of prior. Also, compiling prior on a list iterator
> shows:
> /home/evansl/prog_dev/boost-svn/ro/boost-trunk/boost/mpl/next_prior.hpp:40:
> error: no type named 'prior' in 'struct
> boost::mpl::l_iter<boost::mpl::list1<char> >'
> Hence, the prior requirement should be Bidirectional instead of just
> Forward Iterator.

You are right, of course. Fixed in the trunk:

Thanks for the report!

Aleksey Gurtovoy
MetaCommunications Engineering

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