mirror of
https://github.com/boostorg/phoenix.git
synced 2026-02-14 13:02:10 +00:00
[phoenix]
- little tweak in the invert example [SVN r71875]
This commit is contained in:
@@ -83,7 +83,7 @@ void print_expr(Expr const & expr)
|
||||
phoenix::eval(
|
||||
expr
|
||||
, phoenix::context(
|
||||
int()
|
||||
phoenix::nothing
|
||||
, invert_actions()
|
||||
)
|
||||
)
|
||||
@@ -95,7 +95,7 @@ template <typename Expr>
|
||||
typename
|
||||
boost::phoenix::result_of::eval<
|
||||
Expr const&
|
||||
, phoenix::result_of::context<boost::mpl::void_, invert_actions>::type
|
||||
, phoenix::result_of::context<phoenix::nothing_type, invert_actions>::type
|
||||
>::type
|
||||
invert(Expr const & expr)
|
||||
{
|
||||
@@ -103,7 +103,7 @@ invert(Expr const & expr)
|
||||
phoenix::eval(
|
||||
expr
|
||||
, phoenix::context(
|
||||
boost::mpl::void_()
|
||||
phoenix::nothing
|
||||
, invert_actions()
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user