
9 Oct
2009
9 Oct
'09
8:01 p.m.
Gavin Rogers wrote:
I am going through the tutorial on asio at http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/tutorial/tutdaytime...
and so far so good. I have a question, the end iterator doesn't seem to be assigned a value, in the examples. I was wondering how does it work..
e.g.
tcp::resolver::iterator endpoint_iterator = resolver.resolve(query); tcp::resolver::iterator end;
It seems the `end' is initializing by default constructor for tcp::resolver::iterator type.