]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright 2005 Daniel Wallin. |
2 | // Copyright 2005 Joel de Guzman. | |
3 | // Copyright 2015 John Fletcher. | |
4 | // | |
5 | // Use, modification and distribution is subject to the Boost Software | |
6 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
7 | // http://www.boost.org/LICENSE_1_0.txt) | |
8 | // | |
9 | // Modeled after range_ex, Copyright 2004 Eric Niebler | |
10 | ||
11 | #ifndef BOOST_PHOENIX_ALGORITHM_DETAIL_BEGIN_HPP | |
12 | #define BOOST_PHOENIX_ALGORITHM_DETAIL_BEGIN_HPP | |
13 | ||
14 | //#include <boost/range/result_iterator.hpp> is deprecated | |
15 | #include <boost/range/iterator.hpp> | |
16 | #include <boost/range/begin.hpp> | |
17 | ||
18 | namespace boost { namespace phoenix { | |
19 | namespace detail | |
20 | { | |
21 | template<class R> | |
22 | typename range_iterator<R>::type | |
23 | begin_(R& r) | |
24 | { | |
25 | return boost::begin(r); | |
26 | } | |
27 | } | |
28 | }} | |
29 | ||
30 | #endif |