18 #ifndef RANGE_WRAPPER_HH_ 19 #define RANGE_WRAPPER_HH_ 29 template<
class Object>
35 ASSERT_LE(begin, end).error(
"Invalid range, begin is greater than end!");
43 return make_iter<Object>( Object(
mesh_,
end_) );
46 inline unsigned int size()
const {
55 #endif // RANGE_WRAPPER_HH_
Template Iter serves as general template for internal iterators.
#define ASSERT_LE(a, b)
Definition of comparative assert macro (Less or Equal)
General iterator template. Provides iterator over objects in some container.
Range(const Mesh *mesh, unsigned int begin, unsigned int end)
unsigned int size() const