]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fusion/include/boost/fusion/container/set/detail/end_impl.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / container / set / detail / end_impl.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2009 Christopher Schmidt
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
9#ifndef BOOST_FUSION_CONTAINER_SET_DETAIL_END_IMPL_HPP
10#define BOOST_FUSION_CONTAINER_SET_DETAIL_END_IMPL_HPP
11
12#include <boost/fusion/support/config.hpp>
13#include <boost/fusion/iterator/basic_iterator.hpp>
14
15namespace boost { namespace fusion { namespace extension
16{
17 template <typename>
18 struct end_impl;
19
20 template <>
21 struct end_impl<set_tag>
22 {
23 template <typename Seq>
24 struct apply
25 {
26 typedef
27 basic_iterator<
28 set_iterator_tag
29 , typename Seq::category
30 , Seq
31 , Seq::size::value
32 >
33 type;
34
35 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
36 static type
37 call(Seq& seq)
38 {
39 return type(seq,0);
40 }
41 };
42 };
43}}}
44
45#endif