[#BloombergLP-bslim-Printer-printAttribute-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printAttribute
:relfileprefix: ../../../
:mrdocs:

Format to the output stream supplied at construction, the specified `name` followed by the range of values starting at the specified `begin` position and ending immediately before the specified `end` position&period; The parameterized `ITERATOR` type must support `operator&plus;&plus;`, `operator&ast;`, and `operator&equals;&equals;`&period; This function will call `printValue` on each element in the range `&lsqb;begin, end)&rsqb;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ITERATOR&gt;
void
printAttribute(
    xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& name,
    ITERATOR const& begin,
    ITERATOR const& end) const;
----


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