]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fusion/include/boost/fusion/adapted/boost_array/tag_of.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / adapted / boost_array / tag_of.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005-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(FUSION_SEQUENCE_TAG_OF_27122005_1030)
9#define FUSION_SEQUENCE_TAG_OF_27122005_1030
10
11#include <boost/fusion/support/config.hpp>
12#include <boost/fusion/support/tag_of_fwd.hpp>
13
14#include <cstddef>
15
16namespace boost
17{
18 template<typename T, std::size_t N>
19 class array;
20}
21
22namespace boost { namespace fusion
23{
24 struct boost_array_tag;
25 struct fusion_sequence_tag;
26
27 namespace traits
28 {
29 template<typename T, std::size_t N>
30#if defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
31 struct tag_of<boost::array<T,N>, void >
32#else
33 struct tag_of<boost::array<T,N> >
34#endif
35 {
36 typedef boost_array_tag type;
37 };
38 }
39}}
40
41namespace boost { namespace mpl
42{
43 template<typename>
44 struct sequence_tag;
45
46 template<typename T, std::size_t N>
47 struct sequence_tag<array<T,N> >
48 {
49 typedef fusion::fusion_sequence_tag type;
50 };
51
52 template<typename T, std::size_t N>
53 struct sequence_tag<array<T,N> const>
54 {
55 typedef fusion::fusion_sequence_tag type;
56 };
57}}
58
59#endif