Opened 11 years ago

Closed 11 years ago

#5782 closed Patches (fixed)

Patch for <boost/phoenix/bind/bind_function.hpp>

Reported by: Jamboree <tongari95@…> Owned by: Thomas Heller
Milestone: Boost 1.48.0 Component: phoenix
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

The following fails to compile.

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.

Attachments (1)

bind_function.patch (716 bytes ) - added by Jamboree <tongari95@…> 11 years ago.
patch

Download all attachments as: .zip

Change History (3)

by Jamboree <tongari95@…>, 11 years ago

Attachment: bind_function.patch added

patch

comment:1 by Thomas Heller, 11 years ago

Fixed. Thanks for reporting

comment:2 by Thomas Heller, 11 years ago

Milestone: To Be DeterminedBoost 1.48.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.