]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_FAIL_HPP |
2 | #define BOOST_METAPARSE_V1_FAIL_HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010. | |
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/reject.hpp> | |
10 | ||
11 | namespace boost | |
12 | { | |
13 | namespace metaparse | |
14 | { | |
15 | namespace v1 | |
16 | { | |
17 | template <class Msg> | |
18 | struct fail | |
19 | { | |
20 | typedef fail type; | |
21 | ||
22 | template <class S, class Pos> | |
23 | struct apply : reject<Msg, Pos> {}; | |
24 | }; | |
25 | } | |
26 | } | |
27 | } | |
28 | ||
29 | #endif | |
30 |