Boost logo

Boost :

From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2006-05-23 01:59:33

On 5/23/06, Shunsuke Sogame <mb2act_at_[hidden]> wrote:
> BTW, I found a bug:
> <boost/range/concepts.hpp> seems to
> apply 'boost::size' to Forward Range.

If I recall correctly applying boost::size() was intentional. size(r)
is a valid expression for the ForwardRange concept, and I believe
Thorsten didn't want ADL to kick in, so in the concept check
implementation boost:: is used to qualify all the functions.
boost::size() eventually dispatches either a size() member of the
range object or std::distance().

Daniel Walker

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