title: Vector that can have 3 different data types C++
body: <p>I'm trying to make a vector in C++ that can store 3 different data types. I do not want to use the boost library.
  Something like:</p>
  
  <pre><code>vector&lt;type1, type2, type3&gt; vectorName; 
  </code></pre>
  
  <p>Do I need to make a template? And if yes how would I do that?</p>