$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Niebler (eric_at_[hidden])
Date: 2006-05-30 13:12:28
Neal Becker wrote:
> #include <boost/range.hpp>
> #include <vector>
> 
> template<typename in_t, typename out_t>
> void copy (in_t const& in, out_t &out) {}
> 
> int main() {
>   std::vector<int> out (2);
>   copy (boost::make_iterator_range (out.begin(), out.begin()+2),
> boost::make_iterator_range (out.begin(), out.begin()+2));
> }
If make_iterator_range() returned a const-qualified iterator_range<>, 
this would work. Thorsten?
-- Eric Niebler Boost Consulting www.boost-consulting.com