I'm attempting to write a simple iterator, but am having problems with
it. The following code snippet shows the datum that is used to feed the
iterator, the beginning of the iterator class, the method that is
producing a compiler error, and the error.
typedef std::vector<DataEdge> Edges;
struct NeighboringEdgeInfo
{
NeighboringEdgeInfo() : size(0),current_pos(0) {}
NeighboringEdgeInfo(size_t size_,size_t current_pos_) :
size(size_),current_pos(current_pos_) {}
Edges::const_iterator start;
size_t size;
size_t current_pos;
};
class AdjacentEdgeIter : public
boost::iterator_facade