2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-19 14:42:14 +00:00

merged latest phoenix changes from trunk

[SVN r72412]
This commit is contained in:
Thomas Heller
2011-06-05 16:46:34 +00:00
parent af48084c17
commit b63b71e9c8
91 changed files with 8014 additions and 27227 deletions

View File

@@ -15,6 +15,7 @@
#include <boost/phoenix/core.hpp>
#include <boost/phoenix/operator.hpp>
#include <boost/phoenix/function.hpp>
#include <boost/phoenix/bind.hpp>
#include <boost/phoenix/scope.hpp>
namespace boost { namespace phoenix
@@ -183,8 +184,16 @@ main()
}
{
int x = (let(_a = lambda[val(1)])[+_a])()();
BOOST_TEST(x == 1);
{
// $$$ Fixme. This should not be failing $$$
int x = (let(_a = lambda[val(1)])[_a])()();
//BOOST_TEST(x == 1);
}
{
int x = (let(_a = lambda[val(1)])[bind(_a)])();
BOOST_TEST(x == 1);
}
}
{