title: Swift array of generics
body: <p>How do I create an array of generics? Example:</p>
  
  <pre><code>struct Thing&lt;Any&gt; {
  }
  
  let intThing = Thing&lt;Int&gt;()
  let stringThing = Thing&lt;String&gt;()
  
  // This line doesn't compile
  // Cannot convert value of type 'Thing&lt;Int&gt;' to expected type 'Thing'
  let things: [Thing] = [intThing, stringThing]
  </code></pre>
  
  <p>How do I declare a generic of any type (something like <code>Thing&lt;?&gt;</code> or <code>Thing&lt;Any&gt;</code>)?</p>