Boost logo

Boost :

Subject: Re: [boost] [range] [general] making member functions SFINAE-friendly
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2013-02-20 16:02:49


On Wed, Feb 20, 2013 at 12:55 PM, Neil Groves <neil_at_[hidden]>wrote:
[...]

> I agree. My suggestion didn't have a new base class. I think by making
> boost::size(rng) call range_size(rng) we can provide an extension method
> similar to that already provided for boost::begin(rng) and boost::end(rng).
>

You mean like range_calculate_size [1] ?

[1]
http://www.boost.org/doc/libs/1_53_0/libs/range/doc/html/range/reference/concept_implementation/semantics/functions.html

- Jeff


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