/*============================================================================= Copyright (c) 2014 John Fletcher 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 namespace phx = boost::phoenix; int main() { std::vector v = phx::let(phx::local_names::_a = std::vector(3)) [ phx::local_names::_a ] (); BOOST_TEST( v.size() == 3); }