annotate DEPENDENCIES/generic/include/boost/range/combine.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 // Copyright Neil Groves 2010. Use, modification and
Chris@16 2 // distribution is subject to the Boost Software License, Version
Chris@16 3 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 4 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5 //
Chris@16 6 //
Chris@16 7 // For more information, see http://www.boost.org/libs/range/
Chris@16 8 //
Chris@16 9 #ifndef BOOST_RANGE_COMBINE_HPP
Chris@16 10 #define BOOST_RANGE_COMBINE_HPP
Chris@16 11
Chris@101 12 #include <boost/config.hpp>
Chris@101 13 #include <boost/range/iterator_range_core.hpp>
Chris@16 14 #include <boost/iterator/zip_iterator.hpp>
Chris@16 15
Chris@16 16 namespace boost
Chris@16 17 {
Chris@101 18 namespace range
Chris@16 19 {
Chris@101 20
Chris@101 21 template<typename IterTuple>
Chris@101 22 class combined_range
Chris@101 23 : public iterator_range<zip_iterator<IterTuple> >
Chris@101 24 {
Chris@101 25 typedef iterator_range<zip_iterator<IterTuple> > base;
Chris@101 26 public:
Chris@101 27 combined_range(IterTuple first, IterTuple last)
Chris@101 28 : base(first, last)
Chris@101 29 {
Chris@16 30 }
Chris@101 31 };
Chris@16 32
Chris@101 33 } // namespace range
Chris@16 34 } // namespace boost
Chris@16 35
Chris@101 36 #if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) || \
Chris@101 37 defined(BOOST_NO_CXX11_DECLTYPE) || \
Chris@101 38 defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
Chris@101 39 defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
Chris@101 40 # include <boost/range/detail/combine_cxx03.hpp>
Chris@101 41 #else
Chris@101 42 # include <boost/range/detail/combine_cxx11.hpp>
Chris@16 43 #endif
Chris@101 44
Chris@101 45 #endif