/
usr
/
include
/
boost
/
spirit
/
home
/
support
/
/usr/include/boost/spirit/home/support
mkdir
upload
Name
Size
Mode
Actions
algorithm/
-
0755
rm
auto/
-
0755
rm
auxiliary/
-
0755
rm
char_encoding/
-
0755
rm
char_set/
-
0755
rm
detail/
-
0755
rm
iterators/
-
0755
rm
nonterminal/
-
0755
rm
utree/
-
0755
rm
action_dispatch.hpp
7518
0644
edit
dl
rm
adapt_adt_attributes.hpp
13835
0644
edit
dl
rm
argument.hpp
6649
0644
edit
dl
rm
argument_expression.hpp
2909
0644
edit
dl
rm
assert_msg.hpp
2273
0644
edit
dl
rm
attributes.hpp
45802
0644
edit
dl
rm
attributes_fwd.hpp
11871
0644
edit
dl
rm
auto.hpp
1298
0644
edit
dl
rm
char_class.hpp
32911
0644
edit
dl
rm
common_terminals.hpp
18649
0644
edit
dl
rm
container.hpp
15358
0644
edit
dl
rm
context.hpp
9365
0644
edit
dl
rm
extended_variant.hpp
5351
0644
edit
dl
rm
handles_container.hpp
2084
0644
edit
dl
rm
has_semantic_action.hpp
1517
0644
edit
dl
rm
info.hpp
4836
0644
edit
dl
rm
lazy.hpp
1225
0644
edit
dl
rm
limits.hpp
607
0644
edit
dl
rm
make_component.hpp
15593
0644
edit
dl
rm
meta_compiler.hpp
12503
0644
edit
dl
rm
modify.hpp
3765
0644
edit
dl
rm
multi_pass.hpp
1708
0644
edit
dl
rm
multi_pass_wrapper.hpp
1419
0644
edit
dl
rm
numeric_traits.hpp
3559
0644
edit
dl
rm
sequence_base_id.hpp
1362
0644
edit
dl
rm
string_traits.hpp
10474
0644
edit
dl
rm
terminal.hpp
23296
0644
edit
dl
rm
terminal_expression.hpp
583
0644
edit
dl
rm
unused.hpp
2347
0644
edit
dl
rm
utf8.hpp
3613
0644
edit
dl
rm
utree.hpp
812
0644
edit
dl
rm
Edit:
/usr/include/boost/spirit/home/support/argument_expression.hpp
(2909B)
/*============================================================================= Copyright (c) 2011 Thomas Heller Copyright (c) 2001-2011 Hartmut Kaiser Copyright (c) 2011 Thomas Heller 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) ==============================================================================*/ #if !defined(BOOST_SPIRIT_ARGUMENT_MARCH_22_2011_0939PM) #define BOOST_SPIRIT_ARGUMENT_MARCH_22_2011_0939PM #include <boost/phoenix/core/terminal.hpp> #include <boost/phoenix/core/v2_eval.hpp> #include <boost/proto/proto_fwd.hpp> // for transform placeholders namespace boost { namespace spirit { template <int N> struct argument; template <typename Dummy> struct attribute_context; namespace expression { template <int N> struct argument : phoenix::expression::terminal<spirit::argument<N> > { typedef typename phoenix::expression::terminal< spirit::argument<N> >::type type; static type make() { type const e = {{{}}}; return e; } }; template <typename Dummy> struct attribute_context : phoenix::expression::terminal<spirit::attribute_context<Dummy> > { typedef typename phoenix::expression::terminal< spirit::attribute_context<Dummy> >::type type; static type make() { type const e = {{{}}}; return e; } }; } }} namespace boost { namespace phoenix { namespace result_of { template <typename Dummy> struct is_nullary<custom_terminal<spirit::attribute_context<Dummy> > > : mpl::false_ {}; template <int N> struct is_nullary<custom_terminal<spirit::argument<N> > > : mpl::false_ {}; } template <typename Dummy> struct is_custom_terminal<spirit::attribute_context<Dummy> > : mpl::true_ {}; template <int N> struct is_custom_terminal<spirit::argument<N> > : mpl::true_ {}; template <typename Dummy> struct custom_terminal<spirit::attribute_context<Dummy> > : proto::call< v2_eval( proto::make<spirit::attribute_context<Dummy>()> , proto::call< functional::env(proto::_state) > ) > {}; template <int N> struct custom_terminal<spirit::argument<N> > : proto::call< v2_eval( proto::make<spirit::argument<N>()> , proto::call< functional::env(proto::_state) > ) > {}; }} #endif
Save
cmd:
run