]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/error/literal_expected.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / error / literal_expected.hpp
1 #ifndef BOOST_METAPARSE_V1_ERROR_LITERAL_EXPECTED_HPP
2 #define BOOST_METAPARSE_V1_ERROR_LITERAL_EXPECTED_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 <string>
10
11 namespace boost
12 {
13 namespace metaparse
14 {
15 namespace v1
16 {
17 namespace error
18 {
19 template <char C>
20 struct literal_expected
21 {
22 typedef literal_expected type;
23
24 static std::string get_value()
25 {
26 return std::string("Expected: ") + C;
27 }
28 };
29 }
30 }
31 }
32 }
33
34 #endif
35
36