stabilize build system: depends, installer, boost/bdb fixes, cross targets groundwork
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// 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(SPIRIT_KARMA_ATTR_CAST_SEP_26_2009_0348PM)
|
||||
#define SPIRIT_KARMA_ATTR_CAST_SEP_26_2009_0348PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/karma/meta_compiler.hpp>
|
||||
#include <boost/spirit/home/karma/generator.hpp>
|
||||
#include <boost/spirit/home/karma/domain.hpp>
|
||||
#include <boost/spirit/home/support/unused.hpp>
|
||||
#include <boost/spirit/home/support/info.hpp>
|
||||
#include <boost/spirit/home/support/common_terminals.hpp>
|
||||
#include <boost/spirit/home/karma/detail/attributes.hpp>
|
||||
#include <boost/spirit/home/support/auxiliary/attr_cast.hpp>
|
||||
|
||||
namespace boost { namespace spirit
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// enables attr_cast<>() pseudo generator
|
||||
template <typename Expr, typename Exposed, typename Transformed>
|
||||
struct use_terminal<karma::domain
|
||||
, tag::stateful_tag<Expr, tag::attr_cast, Exposed, Transformed> >
|
||||
: mpl::true_ {};
|
||||
}}
|
||||
|
||||
namespace boost { namespace spirit { namespace karma
|
||||
{
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using spirit::attr_cast;
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// attr_cast_generator consumes the attribute of subject generator without
|
||||
// generating anything
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Exposed, typename Transformed, typename Subject>
|
||||
struct attr_cast_generator
|
||||
: unary_generator<attr_cast_generator<Exposed, Transformed, Subject> >
|
||||
{
|
||||
typedef typename result_of::compile<karma::domain, Subject>::type
|
||||
subject_type;
|
||||
|
||||
typedef mpl::int_<subject_type::properties::value> properties;
|
||||
|
||||
typedef typename mpl::eval_if<
|
||||
traits::not_is_unused<Transformed>
|
||||
, mpl::identity<Transformed>
|
||||
, traits::attribute_of<subject_type> >::type
|
||||
transformed_attribute_type;
|
||||
|
||||
attr_cast_generator(Subject const& subject)
|
||||
: subject(subject)
|
||||
{
|
||||
// If you got an error_invalid_expression error message here,
|
||||
// then the expression (Subject) is not a valid spirit karma
|
||||
// expression.
|
||||
BOOST_SPIRIT_ASSERT_MATCH(karma::domain, Subject);
|
||||
}
|
||||
|
||||
// If Exposed is given, we use the given type, otherwise all we can do
|
||||
// is to guess, so we expose our inner type as an attribute and
|
||||
// deal with the passed attribute inside the parse function.
|
||||
template <typename Context, typename Unused>
|
||||
struct attribute
|
||||
: mpl::if_<traits::not_is_unused<Exposed>, Exposed
|
||||
, transformed_attribute_type>
|
||||
{};
|
||||
|
||||
template <typename OutputIterator, typename Context, typename Delimiter
|
||||
, typename Attribute>
|
||||
bool generate(OutputIterator& sink, Context& ctx, Delimiter const& d
|
||||
, Attribute const& attr) const
|
||||
{
|
||||
typedef traits::transform_attribute<
|
||||
Attribute const, transformed_attribute_type, domain>
|
||||
transform;
|
||||
|
||||
return compile<karma::domain>(subject).generate(
|
||||
sink, ctx, d, transform::pre(attr));
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context& context) const
|
||||
{
|
||||
return info("attr_cast"
|
||||
, compile<karma::domain>(subject).what(context));
|
||||
}
|
||||
|
||||
Subject subject;
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Generator generator: make_xxx function (objects)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Expr, typename Exposed, typename Transformed
|
||||
, typename Modifiers>
|
||||
struct make_primitive<
|
||||
tag::stateful_tag<Expr, tag::attr_cast, Exposed, Transformed>, Modifiers>
|
||||
{
|
||||
typedef attr_cast_generator<Exposed, Transformed, Expr> result_type;
|
||||
|
||||
template <typename Terminal>
|
||||
result_type operator()(Terminal const& term, unused_type) const
|
||||
{
|
||||
typedef tag::stateful_tag<
|
||||
Expr, tag::attr_cast, Exposed, Transformed> tag_type;
|
||||
using spirit::detail::get_stateful_data;
|
||||
return result_type(get_stateful_data<tag_type>::call(term));
|
||||
}
|
||||
};
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,81 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// 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_KARMA_EOL_JUL_08_2008_1014AM)
|
||||
#define BOOST_SPIRIT_KARMA_EOL_JUL_08_2008_1014AM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/common_terminals.hpp>
|
||||
#include <boost/spirit/home/support/info.hpp>
|
||||
#include <boost/spirit/home/support/unused.hpp>
|
||||
#include <boost/spirit/home/karma/detail/attributes.hpp>
|
||||
#include <boost/spirit/home/karma/domain.hpp>
|
||||
#include <boost/spirit/home/karma/meta_compiler.hpp>
|
||||
#include <boost/spirit/home/karma/delimit_out.hpp>
|
||||
#include <boost/spirit/home/karma/detail/generate_to.hpp>
|
||||
|
||||
namespace boost { namespace spirit
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Enablers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <>
|
||||
struct use_terminal<karma::domain, tag::eol> // enables eol
|
||||
: mpl::true_ {};
|
||||
|
||||
}}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost { namespace spirit { namespace karma
|
||||
{
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using boost::spirit::eol;
|
||||
#endif
|
||||
using boost::spirit::eol_type;
|
||||
|
||||
struct eol_generator : primitive_generator<eol_generator>
|
||||
{
|
||||
template <typename Context, typename Unused>
|
||||
struct attribute
|
||||
{
|
||||
typedef unused_type type;
|
||||
};
|
||||
|
||||
template <
|
||||
typename OutputIterator, typename Context, typename Delimiter
|
||||
, typename Attribute>
|
||||
static bool generate(OutputIterator& sink, Context&, Delimiter const& d
|
||||
, Attribute const& /*attr*/)
|
||||
{
|
||||
return detail::generate_to(sink, '\n') &&
|
||||
karma::delimit_out(sink, d); // always do post-delimiting
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context const& /*context*/) const
|
||||
{
|
||||
return info("eol");
|
||||
}
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Generator generators: make_xxx function (objects)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Modifiers>
|
||||
struct make_primitive<tag::eol, Modifiers>
|
||||
{
|
||||
typedef eol_generator result_type;
|
||||
result_type operator()(unused_type, unused_type) const
|
||||
{
|
||||
return result_type();
|
||||
}
|
||||
};
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,137 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
//
|
||||
// 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_KARMA_EPS_APRIL_21_2007_0246PM)
|
||||
#define BOOST_SPIRIT_KARMA_EPS_APRIL_21_2007_0246PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/support/common_terminals.hpp>
|
||||
#include <boost/spirit/home/support/info.hpp>
|
||||
#include <boost/spirit/home/karma/domain.hpp>
|
||||
#include <boost/spirit/home/karma/meta_compiler.hpp>
|
||||
#include <boost/spirit/home/karma/delimit_out.hpp>
|
||||
#include <boost/spirit/home/support/unused.hpp>
|
||||
#include <boost/fusion/include/at.hpp>
|
||||
|
||||
namespace boost { namespace spirit
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Enablers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// enables eps
|
||||
template <>
|
||||
struct use_terminal<karma::domain, tag::eps>
|
||||
: mpl::true_ {};
|
||||
|
||||
// enables eps(bool-condition)
|
||||
template <typename A0>
|
||||
struct use_terminal<karma::domain
|
||||
, terminal_ex<tag::eps, fusion::vector1<A0> > >
|
||||
: is_convertible<A0, bool> {};
|
||||
|
||||
// enables lazy eps(f)
|
||||
template <>
|
||||
struct use_lazy_terminal<karma::domain, tag::eps, 1>
|
||||
: mpl::true_ {};
|
||||
|
||||
}}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
namespace boost { namespace spirit { namespace karma
|
||||
{
|
||||
#ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
|
||||
using boost::spirit::eps;
|
||||
#endif
|
||||
using boost::spirit::eps_type;
|
||||
|
||||
struct eps_generator : primitive_generator<eps_generator>
|
||||
{
|
||||
template <typename Context, typename Unused>
|
||||
struct attribute
|
||||
{
|
||||
typedef unused_type type;
|
||||
};
|
||||
|
||||
template <
|
||||
typename OutputIterator, typename Context, typename Delimiter
|
||||
, typename Attribute>
|
||||
static bool generate(OutputIterator& sink, Context&, Delimiter const& d
|
||||
, Attribute const& /*attr*/)
|
||||
{
|
||||
return karma::delimit_out(sink, d); // always do post-delimiting
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context const& /*context*/) const
|
||||
{
|
||||
return info("eps");
|
||||
}
|
||||
};
|
||||
|
||||
struct semantic_predicate : primitive_generator<semantic_predicate>
|
||||
{
|
||||
template <typename Context, typename Unused>
|
||||
struct attribute
|
||||
{
|
||||
typedef unused_type type;
|
||||
};
|
||||
|
||||
semantic_predicate(bool predicate)
|
||||
: predicate_(predicate)
|
||||
{}
|
||||
|
||||
template <
|
||||
typename OutputIterator, typename Context, typename Delimiter
|
||||
, typename Attribute>
|
||||
bool generate(OutputIterator& sink, Context&, Delimiter const& d
|
||||
, Attribute const& /*attr*/) const
|
||||
{
|
||||
// only do post-delimiting when predicate is true
|
||||
return predicate_ && karma::delimit_out(sink, d);
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context const& /*context*/) const
|
||||
{
|
||||
return info("semantic-predicate");
|
||||
}
|
||||
|
||||
bool predicate_;
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Generator generators: make_xxx function (objects)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Modifiers>
|
||||
struct make_primitive<tag::eps, Modifiers>
|
||||
{
|
||||
typedef eps_generator result_type;
|
||||
result_type operator()(unused_type, unused_type) const
|
||||
{
|
||||
return result_type();
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Modifiers, typename A0>
|
||||
struct make_primitive<
|
||||
terminal_ex<tag::eps, fusion::vector1<A0> >
|
||||
, Modifiers>
|
||||
{
|
||||
typedef semantic_predicate result_type;
|
||||
|
||||
template <typename Terminal>
|
||||
result_type operator()(Terminal const& term, unused_type) const
|
||||
{
|
||||
return result_type(fusion::at_c<0>(term.args));
|
||||
}
|
||||
};
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,267 @@
|
||||
// Copyright (c) 2001-2011 Hartmut Kaiser
|
||||
// Copyright (c) 2001-2011 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)
|
||||
|
||||
#if !defined(BOOST_SPIRIT_KARMA_LAZY_MARCH_27_2007_1231PM)
|
||||
#define BOOST_SPIRIT_KARMA_LAZY_MARCH_27_2007_1231PM
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/spirit/home/karma/domain.hpp>
|
||||
#include <boost/spirit/home/karma/delimit_out.hpp>
|
||||
#include <boost/spirit/home/karma/meta_compiler.hpp>
|
||||
#include <boost/spirit/home/karma/detail/attributes.hpp>
|
||||
#include <boost/spirit/home/support/unused.hpp>
|
||||
#include <boost/spirit/home/support/info.hpp>
|
||||
#include <boost/spirit/home/support/lazy.hpp>
|
||||
#include <boost/spirit/include/phoenix_core.hpp>
|
||||
#include <boost/fusion/include/at.hpp>
|
||||
#include <boost/utility/result_of.hpp>
|
||||
#include <boost/type_traits/remove_reference.hpp>
|
||||
#include <boost/mpl/not.hpp>
|
||||
|
||||
namespace boost { namespace spirit
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Enablers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Eval>
|
||||
struct use_terminal<karma::domain, phoenix::actor<Eval> > // enables phoenix actors
|
||||
: mpl::true_ {};
|
||||
|
||||
// forward declaration
|
||||
template <typename Terminal, typename Actor, int Arity>
|
||||
struct lazy_terminal;
|
||||
|
||||
}}
|
||||
|
||||
namespace boost { namespace spirit { namespace karma
|
||||
{
|
||||
using spirit::lazy;
|
||||
typedef modify<karma::domain> karma_modify;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
template <typename Generator, typename OutputIterator, typename Context
|
||||
, typename Delimiter, typename Attribute>
|
||||
bool lazy_generate_impl(Generator const& g, OutputIterator& sink
|
||||
, Context& context, Delimiter const& delim
|
||||
, Attribute const& attr, mpl::false_)
|
||||
{
|
||||
return g.generate(sink, context, delim, attr);
|
||||
}
|
||||
|
||||
template <typename Generator, typename OutputIterator, typename Context
|
||||
, typename Delimiter, typename Attribute>
|
||||
bool lazy_generate_impl(Generator const& g, OutputIterator& sink
|
||||
, Context& context, Delimiter const& delim
|
||||
, Attribute const& attr, mpl::true_)
|
||||
{
|
||||
// If DeducedAuto is false (semantic actions is present), the
|
||||
// component's attribute is unused.
|
||||
return g.generate(sink, context, delim, unused);
|
||||
}
|
||||
|
||||
template <typename Generator, typename OutputIterator, typename Context
|
||||
, typename Delimiter, typename Attribute>
|
||||
bool lazy_generate_impl_main(Generator const& g, OutputIterator& sink
|
||||
, Context& context, Delimiter const& delim, Attribute const& attr)
|
||||
{
|
||||
// If DeducedAuto is true (no semantic action), we pass the parser's
|
||||
// attribute on to the component.
|
||||
typedef typename traits::has_semantic_action<Generator>::type auto_rule;
|
||||
return lazy_generate_impl(g, sink, context, delim, attr, auto_rule());
|
||||
}
|
||||
}
|
||||
|
||||
template <typename Function, typename Modifiers>
|
||||
struct lazy_generator : generator<lazy_generator<Function, Modifiers> >
|
||||
{
|
||||
typedef mpl::int_<generator_properties::all_properties> properties;
|
||||
|
||||
template <typename Context, typename Iterator>
|
||||
struct attribute
|
||||
{
|
||||
typedef typename
|
||||
boost::result_of<karma_modify(tag::lazy_eval, Modifiers)>::type
|
||||
modifier;
|
||||
|
||||
typedef typename
|
||||
remove_reference<
|
||||
typename boost::result_of<Function(unused_type, Context)>::type
|
||||
>::type
|
||||
expr_type;
|
||||
|
||||
// If you got an error_invalid_expression error message here,
|
||||
// then the expression (expr_type) is not a valid spirit karma
|
||||
// expression.
|
||||
BOOST_SPIRIT_ASSERT_MATCH(karma::domain, expr_type);
|
||||
|
||||
typedef typename
|
||||
result_of::compile<karma::domain, expr_type, modifier>::type
|
||||
generator_type;
|
||||
|
||||
typedef typename
|
||||
traits::attribute_of<generator_type, Context, Iterator>::type
|
||||
type;
|
||||
};
|
||||
|
||||
lazy_generator(Function const& func, Modifiers const& modifiers)
|
||||
: func(func), modifiers(modifiers) {}
|
||||
|
||||
template <
|
||||
typename OutputIterator, typename Context,
|
||||
typename Delimiter, typename Attribute
|
||||
>
|
||||
bool generate(OutputIterator& sink, Context& context,
|
||||
Delimiter const& d, Attribute const& attr) const
|
||||
{
|
||||
return detail::lazy_generate_impl_main(
|
||||
compile<karma::domain>(func(unused, context)
|
||||
, karma_modify()(tag::lazy_eval(), modifiers))
|
||||
, sink, context, d, attr);
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context& context) const
|
||||
{
|
||||
return info("lazy"
|
||||
, compile<karma::domain>(func(unused, context)
|
||||
, karma_modify()(tag::lazy_eval(), modifiers))
|
||||
.what(context)
|
||||
);
|
||||
}
|
||||
|
||||
Function func;
|
||||
Modifiers modifiers;
|
||||
|
||||
private:
|
||||
// silence MSVC warning C4512: assignment operator could not be generated
|
||||
lazy_generator& operator= (lazy_generator const&);
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Function, typename Subject, typename Modifiers>
|
||||
struct lazy_directive
|
||||
: unary_generator<lazy_directive<Function, Subject, Modifiers> >
|
||||
{
|
||||
typedef mpl::int_<generator_properties::all_properties> properties;
|
||||
|
||||
typedef Subject subject_type;
|
||||
|
||||
template <typename Context, typename Iterator>
|
||||
struct attribute
|
||||
{
|
||||
typedef typename
|
||||
boost::result_of<karma_modify(tag::lazy_eval, Modifiers)>::type
|
||||
modifier;
|
||||
|
||||
typedef typename
|
||||
remove_reference<
|
||||
typename boost::result_of<Function(unused_type, Context)>::type
|
||||
>::type
|
||||
directive_expr_type;
|
||||
|
||||
typedef typename
|
||||
proto::result_of::make_expr<
|
||||
proto::tag::subscript
|
||||
, directive_expr_type
|
||||
, Subject
|
||||
>::type
|
||||
expr_type;
|
||||
|
||||
// If you got an error_invalid_expression error message here,
|
||||
// then the expression (expr_type) is not a valid spirit karma
|
||||
// expression.
|
||||
BOOST_SPIRIT_ASSERT_MATCH(karma::domain, expr_type);
|
||||
|
||||
typedef typename
|
||||
result_of::compile<karma::domain, expr_type, modifier>::type
|
||||
generator_type;
|
||||
|
||||
typedef typename
|
||||
traits::attribute_of<generator_type, Context, Iterator>::type
|
||||
type;
|
||||
};
|
||||
|
||||
lazy_directive(Function const& function, Subject const& subject
|
||||
, Modifiers const& modifiers)
|
||||
: function(function), subject(subject), modifiers(modifiers) {}
|
||||
|
||||
template <typename OutputIterator, typename Context, typename Delimiter
|
||||
, typename Attribute>
|
||||
bool generate(OutputIterator& sink, Context& ctx, Delimiter const& d
|
||||
, Attribute const& attr) const
|
||||
{
|
||||
return detail::lazy_generate_impl_main(compile<karma::domain>(
|
||||
proto::make_expr<proto::tag::subscript>(
|
||||
function(unused, ctx), subject)
|
||||
, karma_modify()(tag::lazy_eval(), modifiers))
|
||||
, sink, ctx, d, attr);
|
||||
}
|
||||
|
||||
template <typename Context>
|
||||
info what(Context& ctx) const
|
||||
{
|
||||
return info("lazy-directive"
|
||||
, compile<karma::domain>(
|
||||
proto::make_expr<proto::tag::subscript>(
|
||||
function(unused, ctx), subject)
|
||||
, karma_modify()(tag::lazy_eval(), modifiers))
|
||||
.what(ctx)
|
||||
);
|
||||
}
|
||||
|
||||
Function function;
|
||||
Subject subject;
|
||||
Modifiers modifiers;
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Generator generators: make_xxx function (objects)
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
template <typename Eval, typename Modifiers>
|
||||
struct make_primitive<phoenix::actor<Eval>, Modifiers>
|
||||
{
|
||||
typedef lazy_generator<phoenix::actor<Eval>, Modifiers> result_type;
|
||||
result_type operator()(phoenix::actor<Eval> const& f
|
||||
, Modifiers const& modifiers) const
|
||||
{
|
||||
return result_type(f, modifiers);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename Terminal, typename Actor, int Arity, typename Modifiers>
|
||||
struct make_primitive<lazy_terminal<Terminal, Actor, Arity>, Modifiers>
|
||||
{
|
||||
typedef lazy_generator<Actor, Modifiers> result_type;
|
||||
result_type operator()(
|
||||
lazy_terminal<Terminal, Actor, Arity> const& lt
|
||||
, Modifiers const& modifiers) const
|
||||
{
|
||||
return result_type(lt.actor, modifiers);
|
||||
}
|
||||
};
|
||||
|
||||
template <
|
||||
typename Terminal, typename Actor, int Arity, typename Subject
|
||||
, typename Modifiers>
|
||||
struct make_directive<lazy_terminal<Terminal, Actor, Arity>
|
||||
, Subject, Modifiers>
|
||||
{
|
||||
typedef lazy_directive<Actor, Subject, Modifiers> result_type;
|
||||
result_type operator()(
|
||||
lazy_terminal<Terminal, Actor, Arity> const& lt
|
||||
, Subject const& subject, Modifiers const& modifiers) const
|
||||
{
|
||||
return result_type(lt.actor, subject, modifiers);
|
||||
}
|
||||
};
|
||||
|
||||
}}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user