Open mclow opened 9 years ago
It also requires the other members defined by the forward iterator requirements.
However, it probably needs a few extra introductory explanatory paragraphs. What else do you need to see?
What's it supposed to iterate over? The operator *
and ->
are going to return a basic_resolver_entry
, but there's nothing there about where these come from, and how the iterator can iterate over them
It would iterate over an addrinfo* linked list. The only way to obtain a non-end iterator is from a resolve() call.
As a starting point i've adapted some text from the filesystem spec's directory_iterator. Committed in 95c89d9c5f66fc8288dd651b583cde87f0dba140. See: http://chriskohlhoff.github.io/asio-tr2/#classes.ip__basic_resolver_iterator
It's just got a constructor - that's all.