PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/spirit/home/phoenix/stl/algorithm/detail/end.hpp

http://hadesmem.googlecode.com/
C++ Header | 28 lines | 16 code | 4 blank | 8 comment | 0 complexity | 410db678fb072dd8fe5c45cf084130ca MD5 | raw file
 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
16namespace boost { namespace phoenix {
17namespace detail
18{ 
19  template<class R>
20  typename range_result_iterator<R>::type
21  end_(R& r)
22  {
23      return boost::end(r);
24  }
25}
26}}
27
28#endif