[#BloombergLP-bslim-Printer-printValue-060c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printValue
:relfileprefix: ../../../
:mrdocs:

Print to the output stream supplied at construction the specified `name`, if name is not 0, and then call the specified `printFunctionObject` with the range of values starting at the specified `begin` position and ending immediately before the specified `end` position, the `stream` supplied at construction, `absLevel() &plus; 1`, and `spacesPerLevel()`&period; The parameterized `PRINT&lowbar;FUNCTOR` must be an invocable type whose arguments match the following function signature&colon; &grave; bsl&colon;&colon;ostream&amp; (&ast;)(bsl&colon;&colon;ostream&amp; stream, const TYPE&amp; data, int level, int spacesPerLevel) &grave;

== Synopsis

Declared in `&lt;bslim&lowbar;printer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ITERATOR,
    class PRINT&lowbar;FUNCTOR&gt;
void
printValue(
    ITERATOR const& begin,
    ITERATOR const& end,
    PRINT&lowbar;FUNCTOR const& printFunctionObject) const;
----


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