boost::urls::segments_encoded_base::iterator

A Bidirectional iterator to a path segment

Synopsis

class iterator { /* see-below */ };

Friends

Name

Description

segments_encoded_ref

A view representing path segments in a URL

segments_encoded_base

Common functionality for containers

url_base

Common functionality for containers

segments_encoded_ref

A view representing path segments in a URL

segments_encoded_base

Common functionality for containers

url_base

Common functionality for containers

Description

Objects of this type allow iteration through the segments in the path. Strings returned by iterators may contain percent escapes. The values returned are read‐only; changes to segments must be made through the container instead, if the container supports modification.

The strings produced when iterators are dereferenced refer to the underlying character buffer. Ownership is not transferred; the caller is responsible for ensuring that the lifetime of the buffer extends until it is no longer referenced by any container or iterator.

Created with MrDocs