]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/fusion/mpl/clear.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / fusion / mpl / clear.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 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(FUSION_CLEAR_10022005_1817)
8 #define FUSION_CLEAR_10022005_1817
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/mpl/clear.hpp>
12 #include <boost/fusion/support/tag_of.hpp>
13 #include <boost/fusion/mpl/detail/clear.hpp>
14
15 namespace boost { namespace mpl
16 {
17 template <typename Tag>
18 struct clear_impl;
19
20 template <>
21 struct clear_impl<fusion::fusion_sequence_tag>
22 {
23 template <typename Sequence>
24 struct apply
25 {
26 typedef typename
27 fusion::detail::clear<typename fusion::detail::tag_of<Sequence>::type>::type
28 type;
29 };
30 };
31 }}
32
33 #endif
34