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