1/*=============================================================================
2 Copyright (c) 2001-2014 Joel de Guzman
3
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=============================================================================*/
7#if !defined(BOOST_SPIRIT_X3_CALC7_AST_ADAPTED_HPP)
8#define BOOST_SPIRIT_X3_CALC7_AST_ADAPTED_HPP
9
10#include "ast.hpp"
11#include <boost/fusion/include/adapt_struct.hpp>
12
13BOOST_FUSION_ADAPT_STRUCT(client::ast::signed_,
14 sign, operand_
15)
16
17BOOST_FUSION_ADAPT_STRUCT(client::ast::operation,
18 operator_, operand_
19)
20
21BOOST_FUSION_ADAPT_STRUCT(client::ast::expression,
22 first, rest
23)
24
25#endif
26

source code of boost/libs/spirit/example/x3/calc/calc7/ast_adapted.hpp