Boost logo

Boost :

From: Shunsuke Sogame (mb2act_at_[hidden])
Date: 2006-05-23 13:53:45


Thorsten Ottosen wrote:
>> Updated cvs shows 'boost::size' uses 'operator-' ?
>> I somewhat wonder why 'boost::size' and
>> 'boost::range_size'
>
> you mean just return range_difference<R>::type from size()?
>
> That could be an idea. The only thing I hate is
> that
>
> vector<int>::size_type s = boost::size( cont );
>
> will know generate a warning.

But 'boost::size' is already beyond the warning.
It actually made an *error* at <concepts.hpp>,
which is the part of Boost.Range!

I wonder why 'boost::size' that is (IMO) no longer used
increases the job of customization, 'boost::range_size'.

-- 
Shunsuke Sogame

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