Boost logo

Boost :

Subject: Re: [boost] [range] resulting range type
From: Neil Groves (neil_at_[hidden])
Date: 2010-03-01 21:34:02


>
> I would like to have special metafunction in Boost.Range for such cases to
> make code more cleaner:
> template<class R>
> typename boost::make_range<R>::type Algo(R& r);
>
> What do you think?
>

I believe that boost::sub_range covers this use case. If it does not cover
it then please provide additional information about your issue and I will
gladly address your needs.

Regards,
Neil Groves


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