Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <iostream>
- #include <boost/variant.hpp>
- int main (int argc, char** argv)
- {
- boost::variant<int, std::string, std::wstring> v;
- v = 3;
- std::wcout << v;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement