BloombergLP::bsltf::TestValuesArrayIterator::TestValuesArrayIterator

Create an iterator referring to object within [object, end)].

Synopsis

Declared in <bsltf_testvaluesarray.h>

TestValuesArrayIterator(
    VALUE const* object,
    VALUE const* end,
    bool* dereferenceable,
    bool* isValid);

Description

Create an iterator referring to the specified object for a container with the specified end, with two arrays of boolean referred to by the specified dereferenceable and isValid to indicate whether this iterator and its subsequent values until end is allowed to be dereferenced and is not yet invalidated respectively.

Parameters

NameDescription
objectaddress of the current element
endaddress of the past-the-end element
dereferenceablearray indicating dereferenceability per element
isValidarray indicating validity per element