Iterate over two or more iterators at the same time. Iteration continues until all iterators reach the end. The std::optional only contains a value if the iterator has not reached the end.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

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

Created with MrDocs