Merge pull request #43 from timblechmann/topic/unary-irange

irange: introduce one-parameter variant of irange
This commit is contained in:
neilgroves authored and GitHub committed 2017-11-15 19:48:19 +00:00
commit 3771624560
3 files changed
+59 -11

No files matched your search

+5 -2
View File
@@ -10,7 +10,11 @@
``
template<class Integer>
iterator_range< range_detail::integer_iterator<Integer> >
irange(Integer first, Integer last);
irange(Integer last);
template<class Integer>
iterator_range< range_detail::integer_iterator<Integer> >
irange(Integer first, Integer last);
template<class Integer, class StepSize>
iterator_range< range_detail::integer_iterator_with_step<Integer, StepSize> >
@@ -37,4 +41,3 @@ Defined in the header file `boost/range/irange.hpp`
Constant. Since this function generates a new range the most significant performance cost is incurred through the iteration of the generated range.
[endsect]