| 1 | // Copyright (c) 2001 Daniel C. Nuffer |
| 2 | // Copyright (c) 2001-2011 Hartmut Kaiser |
| 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 | #if !defined(BOOST_SPIRIT_ITERATOR_NO_CHECK_POLICY_MAR_16_2007_1121AM) |
| 8 | #define BOOST_SPIRIT_ITERATOR_NO_CHECK_POLICY_MAR_16_2007_1121AM |
| 9 | |
| 10 | #include <boost/spirit/home/support/iterators/multi_pass_fwd.hpp> |
| 11 | #include <boost/spirit/home/support/iterators/detail/multi_pass.hpp> |
| 12 | |
| 13 | namespace boost { namespace spirit { namespace iterator_policies |
| 14 | { |
| 15 | /////////////////////////////////////////////////////////////////////////// |
| 16 | // class no_check |
| 17 | // Implementation of the CheckingPolicy used by multi_pass |
| 18 | // It does not do anything :-) |
| 19 | /////////////////////////////////////////////////////////////////////////// |
| 20 | struct no_check |
| 21 | { |
| 22 | /////////////////////////////////////////////////////////////////////// |
| 23 | struct unique : public detail::default_checking_policy {}; |
| 24 | |
| 25 | /////////////////////////////////////////////////////////////////////// |
| 26 | struct shared {}; |
| 27 | }; |
| 28 | |
| 29 | }}} |
| 30 | |
| 31 | #endif |
| 32 | |