]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) |
2 | // (C) Copyright 2003-2007 Jonathan Turkanis | |
3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | |
4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) | |
5 | ||
6 | // See http://www.boost.org/libs/iostreams for documentation. | |
7 | ||
8 | #ifndef BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED | |
9 | #define BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED | |
10 | ||
11 | #include <boost/config.hpp> | |
12 | #include <boost/detail/workaround.hpp> | |
13 | #include <boost/iostreams/detail/bool_trait_def.hpp> | |
14 | ||
15 | // Must come last. | |
16 | #include <boost/iostreams/detail/config/disable_warnings.hpp> | |
17 | ||
18 | namespace boost { | |
19 | ||
20 | // We avoid dependence on Boost.Range by using a forward declaration. | |
21 | template<typename Iterator> | |
22 | class iterator_range; | |
23 | ||
24 | namespace iostreams { | |
25 | ||
26 | BOOST_IOSTREAMS_BOOL_TRAIT_DEF(is_iterator_range, boost::iterator_range, 1) | |
27 | ||
28 | } // End namespace iostreams. | |
29 | ||
30 | } // End namespace boost. | |
31 | ||
32 | #include <boost/iostreams/detail/config/enable_warnings.hpp> | |
33 | ||
34 | #endif // #ifndef BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED |