[#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, pointing to the specified `ptr` and having the specified `max` as the end of the buffer available for output. The behavior is undefined unless `max >=ptr`. == Synopsis Declared in `<bslfmt_mockformatcontext.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- MockFormatContext_Iterator( t_CHAR* ptr, t_CHAR* max); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#