Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • this looks like homework. please amend your question title to include the word "homework". Commented Jan 19, 2011 at 3:20
  • 3
    Doesn't look like homework to me. It looks like he's curious about how to implement iterators. Commented Jan 19, 2011 at 3:23
  • 1
    @ Alf P. Steinbach : Not homework. I am implementing iterators for a hash table. Commented Jan 19, 2011 at 3:24
  • Looks like homework to me. It starts at the wrong end. For example, to ask about how operator-> is overloaded one needs to know that operator-> is overloaded. Can't know that without knowing the answer to that question. So, homework. Sorry, @nakiya. Commented Jan 19, 2011 at 3:46
  • @Alf P. Steinbach: What? That sounds contrived. Perhaps you want the code? :p. Wait I'll post. Commented Jan 19, 2011 at 3:54