20#ifndef OPM_ITERATOR_RANGE_HEADER
21#define OPM_ITERATOR_RANGE_HEADER
28template <
class DataType>
41 const DataType*
end()
const {
return end_; }
59 const typename Iter::value_type&
operator[](
int idx)
const
69template<
typename Iter>
77 {
return (
begin_ == rhs.begin_) && (
end_ == rhs.end_); }
Holds the implementation of the CpGrid as a pimple.
Definition: CellQuadrature.hpp:26
Definition: IteratorRange.hpp:29
bool empty() const
Definition: IteratorRange.hpp:34
bool operator==(const iterator_range_pod< DataType > &rhs) const
Definition: IteratorRange.hpp:35
iterator_range_pod()=default
const DataType * begin_
Definition: IteratorRange.hpp:44
iterator_range_pod(const DataType *begin, const DataType *end)
Definition: IteratorRange.hpp:30
size_t size() const
Definition: IteratorRange.hpp:33
const DataType * begin() const
Definition: IteratorRange.hpp:40
const DataType * end() const
Definition: IteratorRange.hpp:41
const DataType * end_
Definition: IteratorRange.hpp:45
const DataType & operator[](int idx) const
Definition: IteratorRange.hpp:38
Definition: IteratorRange.hpp:50
Iter end_
Definition: IteratorRange.hpp:66
Iter begin_
Definition: IteratorRange.hpp:66
size_t size() const
Definition: IteratorRange.hpp:54
bool empty() const
Definition: IteratorRange.hpp:55
Iter end() const
Definition: IteratorRange.hpp:63
const Iter::value_type & operator[](int idx) const
Definition: IteratorRange.hpp:59
bool operator==(const iterator_range< Iter > &rhs) const
Definition: IteratorRange.hpp:56
Iter begin() const
Definition: IteratorRange.hpp:62
iterator_range(Iter begin, Iter end)
Definition: IteratorRange.hpp:51
Definition: IteratorRange.hpp:70
Iter begin_
Definition: IteratorRange.hpp:86
size_t size() const
Definition: IteratorRange.hpp:74
bool operator==(const Iter &rhs) const
Definition: IteratorRange.hpp:76
Iter::value_type & operator[](int idx)
Definition: IteratorRange.hpp:79
mutable_iterator_range()=default
Iter begin() const
Definition: IteratorRange.hpp:82
Iter end() const
Definition: IteratorRange.hpp:83
bool empty() const
Definition: IteratorRange.hpp:75
Iter end_
Definition: IteratorRange.hpp:86
mutable_iterator_range(Iter begin, Iter end)
Definition: IteratorRange.hpp:71