Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:59:19

0001 //  Copyright Neil Groves 2010. Use, modification and
0002 //  distribution is subject to the Boost Software License, Version
0003 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0004 //  http://www.boost.org/LICENSE_1_0.txt)
0005 //
0006 //
0007 // For more information, see http://www.boost.org/libs/range/
0008 //
0009 #ifndef BOOST_RANGE_COMBINE_HPP
0010 #define BOOST_RANGE_COMBINE_HPP
0011 
0012 #include <boost/config.hpp>
0013 #include <boost/range/iterator_range_core.hpp>
0014 #include <boost/iterator/zip_iterator.hpp>
0015 
0016 namespace boost
0017 {
0018     namespace range
0019     {
0020 
0021 template<typename IterTuple>
0022 class combined_range
0023         : public iterator_range<zip_iterator<IterTuple> >
0024 {
0025     typedef iterator_range<zip_iterator<IterTuple> > base;
0026 public:
0027     combined_range(IterTuple first, IterTuple last)
0028         : base(first, last)
0029     {
0030     }
0031 };
0032 
0033     } // namespace range
0034 } // namespace boost
0035 
0036 #if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) || \
0037     defined(BOOST_NO_CXX11_DECLTYPE) || \
0038     defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
0039     defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0040 #   include <boost/range/detail/combine_cxx03.hpp>
0041 #else
0042 #   include <boost/range/detail/combine_cxx11.hpp>
0043 #endif
0044 
0045 #endif