---
layout: "default"
title: "ZipGenerator2"
description: "Swift documentation for 'ZipGenerator2': A generator for the Zip2 sequence."
keywords: "ZipGenerator2,struct,swift,documentation,next,Element"
root: "/v1.2"
---

<div class="intro-declaration"><code class="language-swift">struct ZipGenerator2&lt;E0 : GeneratorType, E1 : GeneratorType&gt;</code></div>

<div class="discussion comment">
    <p>A generator for the <code>Zip2</code> sequence</p>
</div>

<table class="standard">
<tr>
<th id="inheritance">