[#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. The parameterized `ITERATOR` type must support `operator++`, `operator*`, and `operator==`. This function will call `printValue` on each element in the range `[begin, end)]`. == Synopsis Declared in `<bslim_printer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ITERATOR> 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]#