title: boost::variant usage
body: <p>I am developing GUI application via wxWidgets. It has 2 parts: GUI part and "Logic" part. I want to have Logic part totally independent on wxWidgets. But one component in the GUI returning wxVariant and I need to use it in the Logic part.</p>
  
  <p>So I am looking for a way to "convert" wxVariant to boost::variant</p>
  
  <p>wxVariant works like this:</p>
  
  <pre><code>wxVariant v("37");
  int i = v.GetInteger(); //i==37
  </code></pre>
  
  <p>So I am thinking something like</p>
  
  <pre><code>string s = methodReturningWxVariant().GetString();
  boost::variant bV(s);
  
  //later in code e.g
  bV.GetInt();
  bV.GetBool();
  </code></pre>
  
  <p>Is it possible to use boost::Variant (or boost::Any) like this?</p>