SHARE
TWEET

Untitled

a guest Sep 24th, 2011 68 Never
  1. #include <string>
  2. #include <iostream>
  3. #include <boost/variant.hpp>
  4.  
  5. int main (int argc, char** argv)
  6. {
  7.         boost::variant<int, std::string, std::wstring> v;
  8.         v = 3;
  9.         std::wcout << v;
  10.         return 0;
  11. }
RAW Paste Data
Top