Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template subrange

boost::parser::subrange

Synopsis

// In header: <boost/parser/subrange.hpp>

template< I,  S = > 
struct subrange {

  // public member functions
  () = ;
  (, );
  template<typename R> (R  const &);
  constexpr  () ;
  constexpr  () ;
  constexpr  subrange ( = ) ;
  constexpr  subrange ( = ) ;
  constexpr  subrange & ();
  template<typename I2, typename S2, 
           typename Enable> 
    constexpr () ;
};

Description

A simple view type used throughout the rest of the library in C++17 builds; similar to std::ranges::subrange.

subrange public member functions

  1. () = ;
  2. ( first,  last);
  3. template<typename R> (R  const & r);
  4. constexpr  () ;
  5. constexpr  () ;
  6. constexpr  subrange ( n = ) ;
  7. constexpr  subrange ( n = ) ;
  8. constexpr  subrange & ( n);
  9. template<typename I2, typename S2, 
             typename Enable> 
      constexpr () ;

PrevUpHomeNext