]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright (c) 2001-2011 Hartmut Kaiser |
2 | // Copyright (c) 2001-2011 Joel de Guzman | |
3 | // | |
4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | ||
7 | // this file intentionally contains non-ascii characters | |
8 | // boostinspect:noascii | |
9 | ||
10 | #include <boost/detail/lightweight_test.hpp> | |
11 | #include <boost/spirit/include/karma_char.hpp> | |
12 | #include <boost/spirit/include/karma_string.hpp> | |
13 | #include <boost/spirit/include/karma_directive.hpp> | |
14 | #include <boost/spirit/include/karma_action.hpp> | |
15 | #include <boost/spirit/include/phoenix_core.hpp> | |
16 | #include <boost/spirit/include/phoenix_operator.hpp> | |
17 | ||
18 | #include <iostream> | |
19 | #include "test.hpp" | |
20 | ||
21 | int | |
22 | main() | |
23 | { | |
24 | using spirit_test::test; | |
25 | using boost::spirit::karma::lit; | |
26 | using boost::spirit::karma::lower; | |
27 | using boost::spirit::karma::upper; | |
28 | using boost::spirit::karma::char_; | |
29 | using boost::spirit::karma::encoding; | |
30 | namespace char_encoding = boost::spirit::char_encoding; | |
31 | ||
32 | encoding<char_encoding::iso8859_1> iso8859_1; | |
33 | ||
34 | // needed for VC7.1 only | |
35 | #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1310)) | |
36 | #pragma setlocale("french") | |
37 | #endif | |
38 | ||
39 | { | |
40 |