asio C++ library

PrevUpHomeNext

ip::address_v4_iterator

An input iterator that can be used for traversing IPv4 addresses.

typedef basic_address_iterator< address_v4 > address_v4_iterator;
Types

Name

Description

difference_type

Distance between two iterators.

iterator_category

Denotes that the iterator satisfies the input iterator requirements.

pointer

The type of a pointer to an element pointed to by the iterator.

reference

The type of a reference to an element pointed to by the iterator.

value_type

The type of the elements pointed to by the iterator.

Member Functions

Name

Description

basic_address_iterator

Construct an iterator that points to the specified address.

Copy constructor.

Move constructor.

operator*

Dereference the iterator.

operator++

Pre-increment operator.

Post-increment operator.

operator--

Pre-decrement operator.

Post-decrement operator.

operator->

Dereference the iterator.

operator=

Assignment operator.

Move assignment operator.

Friends

Name

Description

operator!=

Compare two addresses for inequality.

operator==

Compare two addresses for equality.

In addition to satisfying the input iterator requirements, this iterator also supports decrement.

Thread Safety

Distinct objects: Safe.

Shared objects: Unsafe.

Requirements

Header: asio/ip/address_v4_iterator.hpp

Convenience header: asio.hpp


PrevUpHomeNext