]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/include/boost/spirit/home/x3/support/traits/attribute_type.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / include / boost / spirit / home / x3 / support / traits / attribute_type.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2014 Joel de Guzman
3 http://spirit.sourceforge.net/
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_SPIRIT_X3_ATTRIBUTE_TYPE_JAN_5_2012_0358PM)
9 #define BOOST_SPIRIT_X3_ATTRIBUTE_TYPE_JAN_5_2012_0358PM
10
11 #include <boost/mpl/identity.hpp>
12
13 namespace boost { namespace spirit { namespace x3 { namespace traits
14 {
15 ///////////////////////////////////////////////////////////////////////////
16 // Retrieve the attribute type to use from the given type
17 //
18 // This is needed to extract the correct attribute type from proxy classes
19 // as utilized in FUSION_ADAPT_ADT et. al.
20 ///////////////////////////////////////////////////////////////////////////
21 template <typename Attribute, typename Enable = void>
22 struct attribute_type : mpl::identity<Attribute> {};
23
24 }}}}
25
26 #endif