boost::asio::ip::basic_resolver_results
A range of entries produced by a resolver.
Synopsis
Declared in <boost/asio/ip/basic_resolver_results.hpp>
template<typename InternetProtocol>
class basic_resolver_results;
Types
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 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. |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
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. |
|
Get the number of entries in the results range. |
|
Swap the results range with another. |
Friends
Name |
Description |
Test two iterators for inequality. |
|
Test two iterators for equality. |
Description
The boost::asio::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, basic_resolver_results is derived from basic_resolver_iterator. This derivation is deprecated. |
Thread Safety
Distinct objects: Safe. Shared objects: Unsafe.
Created with MrDocs