• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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