[#BloombergLP-bslfmt-MockFormatContext_Iterator-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/MockFormatContext_Iterator.adoc[MockFormatContext_Iterator]::MockFormatContext_Iterator :relfileprefix: ../../../ :mrdocs: Create an iterator over a bounded output buffer. == Synopsis Declared in `<bslfmt_mockformatcontext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- MockFormatContext_Iterator( t_CHAR* ptr, t_CHAR* max); ---- == Description The iterator points to the specified `ptr` and has the specified `max` as the end of the buffer available for output. The behavior is undefined unless `max >= ptr`. == Parameters [cols="1,4"] |=== | Name| Description | *ptr* | pointer to the current position in the output buffer | *max* | pointer to the end of the output buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#