Zip two or more ranges, stopping at the shortest.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

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

Return Value

A zip range stopping at the shortest input.

Parameters

Name

Description

t

First range to iterate.

u

Second range to iterate.

args

Additional ranges to iterate.

Created with MrDocs