typedef basic_resolver_iterator< InternetProtocol > iterator;
Name |
Description |
---|---|
The type used for the distance between two iterators. |
|
The iterator category. |
|
The type of the result of applying operator->() to the iterator. |
|
The type of the result of applying operator*() to the iterator. |
|
The type of the value pointed to by the 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. Create an iterator from a sequence of endpoints, host 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: asio/ip/basic_resolver.hpp
Convenience header: asio.hpp