Advertisement
Guest User

Untitled

a guest
Sep 24th, 2011
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement