1 /*==============================================================================
2 Copyright (c) 2016 Kohei Takahashi
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
8 template <typename... A>
9 BOOST_PHOENIX_SCOPE_ACTOR_GEN_NAME<
10 typename vector_chooser<sizeof...(A)>::template apply<
11 typename proto::detail::uncvref<
12 typename proto::result_of::child_c<A, 1>::type
15 , detail::map_local_index_to_tuple<
16 typename proto::detail::uncvref<
17 typename proto::result_of::value<
18 typename proto::result_of::child_c<A, 0>::type
23 BOOST_PHOENIX_SCOPE_ACTOR_GEN_FUNCTION(A const&... a) BOOST_PHOENIX_SCOPE_ACTOR_GEN_CONST
26 typename vector_chooser<sizeof...(A)>::template apply<
27 typename proto::detail::uncvref<
28 typename proto::result_of::child_c<A, 1>::type
33 locals_type locals = {proto::child_c<1>(a)...};
36 BOOST_PHOENIX_SCOPE_ACTOR_GEN_NAME<
38 , detail::map_local_index_to_tuple<
39 typename proto::detail::uncvref<
40 typename proto::result_of::value<
41 typename proto::result_of::child_c<A, 0>::type