20 #ifndef GALOIS_NODEREFITERATOR_H
21 #define GALOIS_NODEREFITERATOR_H
23 #include "boost/iterator/iterator_adaptor.hpp"
25 #include "galois/config.h"
30 template <
typename Iterator>
32 :
public boost::iterator_adaptor<NoDerefIterator<Iterator>, Iterator,
33 Iterator, boost::use_default,
39 return NoDerefIterator::iterator_adaptor_::base_reference();
42 return NoDerefIterator::iterator_adaptor_::base_reference();
47 template <
typename Iterator>
Iterator & dereference()
Definition: NoDerefIterator.h:41
Modify an iterator so that *it == it.
Definition: NoDerefIterator.h:31
const Iterator & dereference() const
Definition: NoDerefIterator.h:38
NoDerefIterator< Iterator > make_no_deref_iterator(Iterator it)
Convenience function to create NoDerefIterator.
Definition: NoDerefIterator.h:48
NoDerefIterator(Iterator it)
Definition: NoDerefIterator.h:36
NoDerefIterator()
Definition: NoDerefIterator.h:35