
On Tue, Apr 27, 2010 at 11:55 PM, vicente.botet <vicente.botet@wanadoo.fr>wrote:
Hi,
I have find the function 'irange' in the section "Provided Ranges".
template<class Integer> integer_range< range_detail::integer_iterator<Integer> > irange(Integer first, Integer last);
I will expect in this section ranges and not functions.
It isn't a range, it is a function. The return type is iterator_range< range_detail::integer_iterator<Integer> >.
This function allows to treat integers as a model of the Random Access Range Concept. I find the name not very eloquent. What about make_integer_range, for example?
BTW, I don't find the documentation of the the class integer_range. Where it is documented?
It is documented under iterator_range.
Best, _____________________ Vicente Juan Botet Escribá http://viboes.blogspot.com/
Regards, Neil Groves