[#bsl-List_Iterator-operator_star]
= xref:bsl.adoc[bsl]::xref:bsl/List_Iterator.adoc[List&lowbar;Iterator]::operator&ast;
:relfileprefix: ../../
:mrdocs:

Return a reference to the element referenced by this iterator&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/List_Iterator/reference.adoc[bsl::List&lowbar;Iterator&lt;VALUE&gt;::reference]
operator&ast;() const;
----

== Description

The behavior is undefined unless this iterator is in the range `&lsqb;begin() &period;&period; end())&rsqb;` for some list (i&period;e&period;, the iterator is not singular, is not `end()`, and has not been invalidated)&period;

== Return Value

reference to the referenced element


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