Create an iterator over a bounded output buffer.

Synopsis

Declared in <bslfmt_mockformatcontext.h>

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

Name

Description

ptr

pointer to the current position in the output buffer

max

pointer to the end of the output buffer

Created with MrDocs