]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/example/x3/minimal/ast.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / example / x3 / minimal / ast.hpp
1 /*=============================================================================
2 Copyright (c) 2002-2018 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_MINIMAL_AST_HPP)
8 #define BOOST_SPIRIT_X3_MINIMAL_AST_HPP
9
10 #include <boost/fusion/include/io.hpp>
11
12 #include <iostream>
13 #include <string>
14
15 namespace client { namespace ast
16 {
17 ///////////////////////////////////////////////////////////////////////////
18 // Our employee AST struct
19 ///////////////////////////////////////////////////////////////////////////
20 struct employee
21 {
22 int age;
23 std::string forename;
24 std::string surname;
25 double salary;
26 };
27
28 using boost::fusion::operator<<;
29 }}
30
31 #endif