...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Deprecated: use resolver::iterator
.)
The type of a resolver iterator.
typedef basic_resolver_iterator< icmp > resolver_iterator;
Name |
Description |
---|---|
Default constructor creates an end iterator. |
|
Create an iterator from an addrinfo list returned by getaddrinfo. Create an iterator from an endpoint, host name and service name. |
|
Dereference an iterator. |
|
Increment operator (prefix). Increment operator (postfix). |
|
Dereference an iterator. |
Name |
Description |
---|---|
Test two iterators for inequality. |
|
Test two iterators for equality. |
The ip::basic_resolver_iterator
class
template is used to define iterators over the results returned by a resolver.
The iterator's value_type, obtained when the iterator is dereferenced, is:
const basic_resolver_entry<InternetProtocol>
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/ip/icmp.hpp
Convenience header: boost/asio.hpp