Zip ranges assuming the first is the shortest.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename T,
    typename U,
    typename... Args>
/* implementation-defined */
zip_first(
    T&& t,
    U&& u,
    Args&&... args);

Description

Iteration continues until the end of the first iteratee is reached. In builds with assertions on, we check that the assumption about the first iteratee being the shortest holds.

Return Value

A zip range stopping at the end of the first input.

Parameters

Name

Description

t

First (shortest) range to iterate.

u

Second range to iterate.

args

Additional ranges to iterate.

Created with MrDocs