segments_base

Common functionality for containers

Synopsis

class segments_base ;

Declared in file <boost/url/segments_base.hpp> at line 37

Types

Name Description
iterator

Types

Name Description
const_iterator

iterator

value_type

The value type

reference

The reference type

const_reference

The reference type

size_type

An unsigned integer type used to represent size.

difference_type

A signed integer type used to represent differences.

Member Functions

Name Description
buffer

Return the referenced character buffer.

is_absolute

Returns true if this references an absolute path.

empty

Return true if there are no segments

size

Return the number of segments

front

Return the first segment

back

Return the last segment

begin

Return an iterator to the beginning

end

Return an iterator to the end

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

  • segments_ref
  • segments_view
  • segments_encoded_ref
  • segments_encoded_view