]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/accept_tag.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / accept_tag.hpp
CommitLineData
7c673cae
FG
1#ifndef BOOST_METAPARSE_V1_ACCEPT_TAG_HPP
2#define BOOST_METAPARSE_V1_ACCEPT_TAG_HPP
3
4// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8
9#include <boost/metaparse/v1/fwd/get_remaining.hpp>
10#include <boost/metaparse/v1/fwd/get_position.hpp>
11#include <boost/metaparse/v1/fwd/get_result.hpp>
12
13
14namespace boost
15{
16 namespace metaparse
17 {
18 namespace v1
19 {
20 struct accept_tag { typedef accept_tag type; };
21
22 template <>
23 struct get_position_impl<accept_tag>
24 {
25 template <class A>
26 struct apply : A::source_position {};
27 };
28
29 template <>
30 struct get_remaining_impl<accept_tag>
31 {
32 template <class A>
33 struct apply : A::remaining {};
34 };
35
36 template <>
37 struct get_result_impl<accept_tag>
38 {
39 template <class A>
40 struct apply { typedef typename A::result type; };
41 };
42 }
43 }
44}
45
46#endif
47