Boost logo

Boost :

Subject: [boost] [range] irange is not very eloquent
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-04-27 18:55:25


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.

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?

Best,
_____________________
Vicente Juan Botet Escribá
http://viboes.blogspot.com/


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