|
Boost : |
Subject: Re: [boost] [RangeEx] Where is the current version?
From: Thomas Petit (thomas.petit33_at_[hidden])
Date: 2010-04-18 14:43:33
Wait ! Did you just wrote that RangeEx is now at last in the trunk and ready
for 1.43 ?
That's freaking great !
Two comments :
1) Maybe a small oversight* *in boost/range/adaptors.hpp : all adaptors are
included except the strided one.
2) Is there somewhere in RangeEx some shortcuts to construct a standard
container directly from a range ?
Something along the line of :
namespace boost
{
template <typename Range>
std::vector<typename Range::value_type>
make_vector(Range& rng)
{
return std::vector<typename Range::value_type>(boost::begin(rng),
boost::end(rng));
}
}
int main()
{
std::vector<int> v = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
std::vector<int> v2 = boost::make_vector(v |
boost::adaptors::strided(2));
}
Regards.
2010/4/17 Neil Groves <neil_at_[hidden]>
> On Fri, Apr 16, 2010 at 9:52 PM, Thomas Petit <thomas.petit33_at_[hidden]
> >wrote:
>
> > As the title said :
> > Where is the current version ? :)
> >
> > It is on the trunk. All you need to do is checkout the trunk from
> subversion. Boost.Range has all the RangeEx functionality merged in. I am
> targeting a release in 1.43
>
>
> > It seems to have vanished from the vault !?
> > I can't find any trace here anymore :
> >
> >
> http://www.boostpro.com/vault/index.php?&direction=0&order=&directory=Algorithms
> >
> > Yes it has. I remove it to avoid anyone getting the older version before
> the improvements due to review feedback.
>
> Regards,
> Neil Groves
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk