Create an iterator over a bounded output buffer.
Declared in <bslfmt_mockformatcontext.h>
MockFormatContext_Iterator(
t_CHAR* ptr,
t_CHAR* max);
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.
| Name | Description |
|---|---|
| ptr | pointer to the current position in the output buffer |
| max | pointer to the end of the output buffer |