1
#ifndef DUNE_ONEDGRID_NULL_ITERATORS_HH
2
#define DUNE_ONEDGRID_NULL_ITERATORS_HH
4
#include "onedgridlist.hh"
8
template <int mydim> class OneDEntityImp;
11
class OneDGridNullIteratorFactory {};
14
class OneDGridNullIteratorFactory<0> {
18
static OneDGridList<OneDEntityImp<0> >::iterator null() {
19
return emptyList_.end();
23
static OneDGridList<OneDEntityImp<0> > emptyList_;
27
class OneDGridNullIteratorFactory<1> {
31
static OneDGridList<OneDEntityImp<1> >::iterator null() {
32
return emptyList_.end();
36
static OneDGridList<OneDEntityImp<1> > emptyList_;