]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/example/extension/example_struct_type.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / example / extension / example_struct_type.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2006 Dan Marsden
4
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_EXAMPLE_STRUCT_TYPE)
9 #define BOOST_FUSION_EXAMPLE_STRUCT_TYPE
10
11 #include <string>
12
13 namespace example
14 {
15 struct example_struct
16 {
17 std::string name;
18 int age;
19 example_struct(
20 const std::string& n,
21 int a)
22 : name(n), age(a)
23 {}
24 };
25 }
26
27 #endif