Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-30 12:00:40


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) {}

What makes you think you can bind a temporary to
an non-const reference (out)?

-Thorsten


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