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

segments_base

Common functionality for containers.

Synopsis

Defined in header <boost/url/segments_base.hpp>

class segments_base
Types

Name

Description

const_iterator

A Bidirectional iterator to a path segment.

const_reference

The reference type.

difference_type

A signed integer type used to represent differences.

iterator

A Bidirectional iterator to a path segment.

reference

The reference type.

size_type

An unsigned integer type used to represent size.

value_type

The value type.

Static Member Functions

Name

Description

max_size

Return the maximum number of characters possible.

Member Functions

Name

Description

back

Return the last segment.

begin

Return an iterator to the beginning.

buffer

Return the referenced character buffer.

empty

Return true if there are no segments.

end

Return an iterator to the end.

front

Return the first segment.

is_absolute

Returns true if this references an absolute path.

size

Return the number of segments.

Description

This base class is used by the library to provide common member functions for containers. This cannot be instantiated directly; Instead, use one of the containers or functions:

Containers

Convenience header <boost/url.hpp>


PrevUpHomeNext