Alright so here's my problem. I'm being told that there is no matching constructor for my class. Here's the code that's calling it. (ignore the inputs. it doesn't seem to matter what I put in, it all comes out bad).
const_iterator end() const { return const_iterator(root->parent,true); } and here are the initializers.
const_iterator(Node *n, bool b):node(n),end(b) {} const_iterator(const_iterator &that):node(that.node),end(that.end){} for the first one, the compiler says that 2 arguments are expected and only one is provided and the second says that an l-value is expected.