1 // Copyright 2005 Daniel Wallin.
2 // Copyright 2005 Joel de Guzman.
3 // Copyright 2015 John Fletcher.
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)
9 // Modeled after range_ex, Copyright 2004 Eric Niebler
11 #ifndef BOOST_PHOENIX_ALGORITHM_DETAIL_BEGIN_HPP
12 #define BOOST_PHOENIX_ALGORITHM_DETAIL_BEGIN_HPP
14 //#include <boost/range/result_iterator.hpp> is deprecated
15 #include <boost/range/iterator.hpp>
16 #include <boost/range/begin.hpp>
18 namespace boost { namespace phoenix {
22 typename range_iterator<R>::type
25 return boost::begin(r);