[#bsl-_Slist_iterator_base]
= xref:bsl.adoc[bsl]::&lowbar;Slist&lowbar;iterator&lowbar;base
:relfileprefix: ../
:mrdocs:

Non&hyphen;templated base for forward iterators over an slist&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct &lowbar;Slist&lowbar;iterator&lowbar;base;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/_Slist_iterator_base/difference_type.adoc[`difference&lowbar;type`] 
| Signed integral type used for iterator distances&period;
| xref:bsl/_Slist_iterator_base/iterator_category.adoc[`iterator&lowbar;category`] 
| Iterator category tag identifying a forward iterator&period;
| xref:bsl/_Slist_iterator_base/size_type.adoc[`size&lowbar;type`] 
| Unsigned integral type used for sizes&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/_Slist_iterator_base/2constructor.adoc[`&lowbar;Slist&lowbar;iterator&lowbar;base`]         [.small]#[constructor]#
| Create an iterator referring to the specified node&period;
| xref:bsl/_Slist_iterator_base/_M_incr.adoc[`&lowbar;M&lowbar;incr`] 
| Advance this iterator to the next node&period;
| xref:bsl/_Slist_iterator_base/operator_eq.adoc[`operator&equals;&equals;`] 
| Return `true` if both iterators refer to the same node&period;
| xref:bsl/_Slist_iterator_base/operator_not_eq.adoc[`operator!&equals;`] 
| Return `true` if the iterators refer to different nodes&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:bsl/_Slist_iterator_base/_M_node.adoc[`&lowbar;M&lowbar;node`] 
| Pointer to the current node, or null for a past&hyphen;the&hyphen;end iterator&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:bsl/_Slist_iterator.adoc[`&lowbar;Slist&lowbar;iterator`] 
| Forward iterator over an `slist` of `&lowbar;Tp` with constness from `&lowbar;Traits`&period;
|===


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