File indexing completed on 2025-01-30 09:59:19
0001
0002
0003
0004
0005
0006
0007
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 }
0034 }
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