Boost logo

Boost :

Subject: Re: [boost] [range] Permission to merge extensive documentation workfrom trunk.
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-04-28 17:03:14


----- Original Message -----
From: "Neil Groves" <neil_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Wednesday, April 28, 2010 9:35 PM
Subject: [boost] [range] Permission to merge extensive documentation workfrom trunk.

>
> Please may I merge just the documentation changes that have been performed
> on the trunk?
>
> These include:
> 1. corrections to documentation errors
> 2. complete documentation of the header files
> 3. acknowledgements for the Boost.RangeEx work.

Hi,

Now that the documentation has been updated changing integer_range by iterator_range

template<class Integer>
iterator_range< range_detail::integer_iterator<Integer> >
irange(Integer first, Integer last);

I will repost my question. I suppose that range_detail can not be used by the user, so how the user can declare the variable returned by irange?

iterator_range< ??? > lower_case = irange(0,10);

Should I use Boost.Typeof?

What about defining a interger_range template class such that 'interger_range <T>' is equivalent of 'iterator_range< range_detail::integer_iterator<T> >', so the user can declare it as

integer_range< int > lower_case = irange(0,10);

Best,
Vicente


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