[#boost-urls-segments_encoded_base]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::segments&lowbar;encoded&lowbar;base
:relfileprefix: ../../
:mrdocs:


Common functionality for containers

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/segments_encoded_base.hpp#L37[boost&sol;url&sol;segments&lowbar;encoded&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class segments&lowbar;encoded&lowbar;base;
----

== Types

[cols=2]
|===
| Name | Description 

| xref:boost/urls/segments_encoded_base/const_iterator.adoc[`const&lowbar;iterator`] 
| A Bidirectional iterator to a path segment

| xref:boost/urls/segments_encoded_base/const_reference.adoc[`const&lowbar;reference`] 
| The reference type

| xref:boost/urls/segments_encoded_base/difference_type.adoc[`difference&lowbar;type`] 
| A signed integer type used to represent differences&period;

| xref:boost/urls/segments_encoded_base/iterator.adoc[`iterator`] 
| A Bidirectional iterator to a path segment

| xref:boost/urls/segments_encoded_base/reference.adoc[`reference`] 
| The reference type

| xref:boost/urls/segments_encoded_base/size_type.adoc[`size&lowbar;type`] 
| An unsigned integer type used to represent size&period;

| xref:boost/urls/segments_encoded_base/value_type.adoc[`value&lowbar;type`] 
| The value type

|===
== Member Functions

[cols=2]
|===
| Name | Description 

| xref:boost/urls/segments_encoded_base/back.adoc[`back`] 
| Return the last segment

| xref:boost/urls/segments_encoded_base/begin.adoc[`begin`] 
| Return an iterator to the beginning

| xref:boost/urls/segments_encoded_base/buffer.adoc[`buffer`] 
| Return the referenced character buffer&period;

| xref:boost/urls/segments_encoded_base/empty.adoc[`empty`] 
| Return true if there are no segments

| xref:boost/urls/segments_encoded_base/end.adoc[`end`] 
| Return an iterator to the end

| xref:boost/urls/segments_encoded_base/front.adoc[`front`] 
| Return the first segment

| xref:boost/urls/segments_encoded_base/is_absolute.adoc[`is&lowbar;absolute`] 
| Returns true if this references an absolute path&period;

| xref:boost/urls/segments_encoded_base/size.adoc[`size`] 
| Return the number of segments

|===
== Static Member Functions

[cols=2]
|===
| Name | Description 

| xref:boost/urls/segments_encoded_base/max_size.adoc[`max&lowbar;size`] 
| Return the maximum number of characters possible

|===



== Description


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


=== Containers

* segments&lowbar;ref
    
* segments&lowbar;view
    
* segments&lowbar;encoded&lowbar;ref
    
* segments&lowbar;encoded&lowbar;view

Common functionality for containers

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


=== Containers

* segments&lowbar;ref
    
* segments&lowbar;view
    
* segments&lowbar;encoded&lowbar;ref
    
* segments&lowbar;encoded&lowbar;view





[.small]#Created with https://www.mrdocs.com[MrDocs]#
