...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
An iterator over the entries produced by a resolver.
template< typename InternetProtocol> class basic_resolver_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 |
---|---|
basic_resolver_iterator [constructor] |
Default constructor creates an end iterator. |
Dereference an iterator. |
|
Increment operator (prefix). |
|
Dereference an iterator. |
|
Assignment operator. |
Name |
Description |
---|---|
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/basic_resolver_iterator.hpp
Convenience header: boost/asio.hpp