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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ip::basic_address_iterator< address_v6 >

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

template<>
class basic_address_iterator< address_v6 >
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.

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.

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: boost/asio/ip/address_v6_iterator.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext