/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #include #include #include #include using boost::phoenix::val; int main() { #ifndef BOOST_PHOENIX_NO_PREDEFINED_TERMINALS using boost::phoenix::arg_names::_1; #else boost::phoenix::arg_names::_1_type _1; #endif int i1 = 1; BOOST_TEST(val(_1)(i1) == i1); return boost::report_errors(); }