Subject: [Boost-bugs] [Boost C++ Libraries] #5782: Patch for <boost/phoenix/bind/bind_function.hpp>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-14 18:08:58
#5782: Patch for <boost/phoenix/bind/bind_function.hpp>
--------------------------------------------+-------------------------------
Reporter: Jamboree <tongari95@â¦> | Owner: theller
Type: Patches | Status: new
Milestone: To Be Determined | Component: phoenix
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
--------------------------------------------+-------------------------------
The following fails to compile.[[BR]]
// code from Gabriel Redner
{{{
#include <boost/phoenix/bind/bind_function.hpp>
#include <boost/phoenix/core/argument.hpp>
#include <iostream>
using namespace boost::phoenix;
using namespace boost::phoenix::placeholders;
void foo(int n)
{
std::cout << n << std::endl;
}
int main()
{
bind(&foo, arg1)(4);
}
}}}
Patch attached.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5782> 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:07 UTC