Boost logo

Boost :

Subject: [boost] [RangeEx] Range & RangeEx
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2008-09-12 08:13:25


RangeEx appears to have the functionality I'm seeking, which is the
std algorithms
overloaded for ranges, but there's few things I'm not clear about.

I've downloaded the range_ex.zip archive from the vault, but I'm not clear
if it replaces or extends Boost.Range. Am I now able to write things like

#include <vector>
#include <iostream>
#include <iterator>
#include <boost/range.hpp>

void f( vector<int> const & v )
{
   using namespace std;
   using namespace boost;
   copy( v, ostream_iterator<int>( cout, " " );
}


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