20 #ifndef LIBMESH_SIMPLERANGE_H 21 #define LIBMESH_SIMPLERANGE_H 35 template <
typename IndexType>
56 template<
typename IndexType>
59 return {p.first, p.second};
68 template<
typename IndexType>
70 const IndexType & second)
72 return {first, second};
77 #endif // LIBMESH_SIMPLERANGE_H
The SimpleRange templated class is intended to make it easy to construct ranges from pairs of iterato...
The libMesh namespace provides an interface to certain functionality in the library.
SimpleRange< IndexType > as_range(const std::pair< IndexType, IndexType > &p)
Helper function that allows us to treat a homogenous pair as a range.
SimpleRange(IndexType begin, IndexType end)