title: What is the equivalent of boost::variant in the C++ standard library?
body: <p>I am looking for an alternative to C-style union. boost::variant is one such option. Is there anything in std C++ ?</p>
  
  <pre><code>union {
     int i;
     double d;
  }
  </code></pre>