Skip to main content

class iterable_range

Declaration

template <typename Iterator>
class iterable_range { /* full declaration omitted */ };

Template Parameters

Iterator

Member Variables

Iterator m_first
Iterator m_last

Member Function Overview

Friend Function Overview

  • begin(const iterable_range<Iterator> & ir) → friend Iterator
  • end(const iterable_range<Iterator> & ir) → friend Iterator

Member Functions

Iterator begin() const


bool empty() const


Iterator end() const


auto& front() const


iterable_range(Iterator first, Iterator last)

Parameters

Iterator first
Iterator last

size_t size() const


Friend Functions

friend Iterator begin(
    const iterable_range<Iterator>& ir)

Parameters

const iterable_range<Iterator>& ir

friend Iterator end(
    const iterable_range<Iterator>& ir)

Parameters

const iterable_range<Iterator>& ir