]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/range_c.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / range_c.hpp
CommitLineData
7c673cae
FG
1#ifndef BOOST_METAPARSE_V1_RANGE_C_HPP
2#define BOOST_METAPARSE_V1_RANGE_C_HPP
3
4// Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
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/accept_when.hpp>
10#include <boost/metaparse/v1/one_char.hpp>
11#include <boost/metaparse/v1/util/in_range_c.hpp>
12#include <boost/metaparse/v1/error/unexpected_character.hpp>
13
14namespace boost
15{
16 namespace metaparse
17 {
18 namespace v1
19 {
20 template <char From, char To>
21 struct range_c :
22 accept_when<
23 one_char,
24 util::in_range_c<char, From, To>,
25 error::unexpected_character
26 >
27 {};
28 }
29 }
30}
31
32#endif
33