mirror of
https://github.com/boostorg/phoenix.git
synced 2026-02-14 13:02:10 +00:00
Amended to remove conflicts.
This commit is contained in:
@@ -18,6 +18,9 @@ int main()
|
||||
using namespace boost::phoenix::arg_names;
|
||||
boost::function<bool(double, double)> f = fabs(_1 - _2) < eps;
|
||||
|
||||
double x = boost::phoenix::pow(_1,_2)(2.,0.);
|
||||
|
||||
BOOST_TEST(f(0.0, 0 * eps));
|
||||
BOOST_TEST(!f(0.0, eps));
|
||||
BOOST_TEST(fabs(x-1.) < eps );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user