]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/include/boost/fusion/container/map/detail/end_impl.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / container / map / detail / end_impl.hpp
1 /*=============================================================================
2 Copyright (c) 2005-2013 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_FUSION_MAP_END_IMPL_02042013_0857)
8 #define BOOST_FUSION_MAP_END_IMPL_02042013_0857
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/map/map_iterator.hpp>
12
13 namespace boost { namespace fusion
14 {
15 struct map_tag;
16
17 namespace extension
18 {
19 template<typename T>
20 struct end_impl;
21
22 template<>
23 struct end_impl<map_tag>
24 {
25 template<typename Sequence>
26 struct apply
27 {
28 typedef map_iterator<Sequence, Sequence::size::value> type;
29
30 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
31 static type call(Sequence& seq)
32 {
33 return type(seq);
34 }
35 };
36 };
37 }
38 }}
39
40 #endif