]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_RETURN__HPP |
2 | #define BOOST_METAPARSE_V1_RETURN__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/accept.hpp> | |
10 | #include <boost/metaparse/v1/get_result.hpp> | |
11 | ||
12 | ||
13 | #include <iostream> | |
14 | ||
15 | namespace boost | |
16 | { | |
17 | namespace metaparse | |
18 | { | |
19 | namespace v1 | |
20 | { | |
21 | template <class C> | |
22 | struct return_ | |
23 | { | |
24 | typedef return_ type; | |
25 | ||
26 | template <class S, class Pos> | |
27 | struct apply : accept<C, S, Pos> {}; | |
28 | }; | |
29 | } | |
30 | } | |
31 | } | |
32 | ||
33 | #endif | |
34 |