Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

ip::tcp::resolver_iterator

(Deprecated: use resolver::iterator.) The type of a resolver iterator.

typedef basic_resolver_iterator< tcp > resolver_iterator;
Member Functions

Name

Description

basic_resolver_iterator

Default constructor creates an end iterator.

create

Create an iterator from an addrinfo list returned by getaddrinfo.

Create an iterator from an endpoint, host name and service name.

operator *

Dereference an iterator.

operator++

Increment operator (prefix).

Increment operator (postfix).

operator->

Dereference an iterator.

Friends

Name

Description

operator!=

Test two iterators for inequality.

operator==

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> 
Thread Safety

Distinct objects: Safe.

Shared objects: Unsafe.

Requirements

Header: boost/asio/ip/tcp.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext