Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5626: Compilation error when using boost::phoenix with range adaptors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-21 15:35:55
#5626: Compilation error when using boost::phoenix with range adaptors
-------------------------------------------------------+--------------------
Reporter: Nicolas Savoire <nicos@â¦> | Owner: theller
Type: Bugs | Status: new
Milestone: To Be Determined | Component: phoenix
Version: Boost Release Branch | Severity: Regression
Resolution: | Keywords:
-------------------------------------------------------+--------------------
Comment (by Nicolas Savoire <nicos@â¦>):
Ooops, I made a mistake, the failing example is:
{{{
#include <iostream>
#include <boost/range.hpp>
#include <boost/range/irange.hpp>
#include <boost/range/adaptors.hpp>
#include <boost/phoenix.hpp>
using namespace boost::phoenix::arg_names;
using namespace boost::adaptors;
int main()
{
std::cout << *boost::begin(boost::irange(0,5) | transformed( arg1 ));
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5626#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC