2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-14 13:02:10 +00:00
Files
phoenix/test/bind/bug5782.cpp
Thomas Heller ab1a6a2c3c [phoenix]
Fixing bug #5782



[SVN r74041]
2011-08-24 09:52:58 +00:00

18 lines
286 B
C++

#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);
}