Subject: Re: [boost] [Range] Range adaptor approach for temporary range lifetime issue
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-06-17 08:59:58
For compilers without the support of C++11 range-based for,
please use the attached codes in this mail.
Two files are attached.
The current implementation of `BOOST_FOREACH` does not
use rvalue references to bind temporary ranges.
`BOOST_FOREACH` in this file implements such functionality
to deal with move-only types.
Includes the above foreach.hpp by`#include "foreach.hpp"` and
replaces C++11 range-based for with `BOOST_FOREACH`.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk