A range of entries produced by a resolver.
template< typename InternetProtocol> class basic_resolver_results : public ip::basic_resolver_iterator< InternetProtocol >
Name |
Description |
---|---|
The type of an iterator into the range. |
|
The type of a const reference to a value in the range. |
|
Type used to represent the distance between two iterators in the range. |
|
The endpoint type associated with the results. |
|
The type of an iterator into the range. |
|
The iterator category. |
|
The type of the result of applying operator->() to the iterator. |
|
The protocol type associated with the results. |
|
The type of a non-const reference to a value in the range. |
|
Type used to represent a count of the elements in the range. |
|
The type of a value in the results range. |
Name |
Description |
---|---|
Default constructor creates an empty range. |
|
Obtain a begin iterator for the results range. |
|
Obtain a begin iterator for the results range. |
|
Obtain an end iterator for the results range. |
|
Determine whether the results range is empty. |
|
Obtain an end iterator for the results range. |
|
Get the maximum number of entries permitted in a results range. |
|
Dereference an iterator. |
|
Increment operator (prefix). |
|
Dereference an iterator. |
|
Assignment operator. |
|
Get the number of entries in the results range. |
|
Swap the results range with another. |
Name |
Description |
---|---|
Name |
Description |
---|---|
Test two iterators for inequality. |
|
Test two iterators for equality. |
The ip::basic_resolver_results
class template is used to define a range over the results returned by a resolver.
The iterator's value_type, obtained when a results iterator is dereferenced, is:
const basic_resolver_entry<InternetProtocol>
For backward compatibility, ip::basic_resolver_results
is derived from ip::basic_resolver_iterator
.
This derivation is deprecated.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/ip/basic_resolver_results.hpp
Convenience header: asio.hpp