Allows Workstream::run() to be called with constant functions as
arguments.
IteratorOverIterators
begin();
+ /**
+ * Return the iterator pointing to the first element of this range.
+ */
+ IteratorOverIterators
+ begin() const;
+
+ /**
+ * Return the iterator pointing to the element past the last element of this
+ * range.
+ */
+ IteratorOverIterators
+ end() const;
+
/**
* Return the iterator pointing to the element past the last element of this
* range.
}
+template <typename Iterator>
+inline typename IteratorRange<Iterator>::IteratorOverIterators
+IteratorRange<Iterator>::begin() const
+{
+ return it_begin;
+}
+
+
template <typename Iterator>
inline typename IteratorRange<Iterator>::IteratorOverIterators
IteratorRange<Iterator>::end()
}
+template <typename Iterator>
+inline typename IteratorRange<Iterator>::IteratorOverIterators
+IteratorRange<Iterator>::end() const
+{
+ return it_end;
+}
+
+
DEAL_II_NAMESPACE_CLOSE
#endif
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams