[#BloombergLP-bdlcc-StripedUnorderedMultiMap-visitReadOnly-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::visitReadOnly
:relfileprefix: ../../../
:mrdocs:

`visitReadOnly` overloads

== Synopses

Declared in `&lt;bdlcc&lowbar;stripedunorderedmultimap&period;h&gt;`

Call `visitor` read&hyphen;only on each element until finished or it returns false&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/visitReadOnly-00.adoc[visitReadOnly](xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/ReadOnlyVisitorFunction.adoc[ReadOnlyVisitorFunction] const& visitor) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/visitReadOnly-00.adoc[_» more&period;&period;&period;_]#

Call `visitor` read&hyphen;only on each element matching `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/visitReadOnly-06.adoc[visitReadOnly](
    KEY const& key,
    xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/ReadOnlyVisitorFunction.adoc[ReadOnlyVisitorFunction] const& visitor) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedMultiMap/visitReadOnly-06.adoc[_» more&period;&period;&period;_]#

== Return Value

number of elements visited, or its negation if stopped early

== Parameters

[cols="1,4"]
|===
| Name| Description
| *visitor*
| read&hyphen;only functor invoked with each element
| *key*
| key of the elements to visit
|===


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