Ticket #10205: demo.cpp
| File demo.cpp, 294 bytes (added by , 8 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <locale> |
| 2 | #include <iostream> |
| 3 | #include <string> |
| 4 | #include <boost/filesystem/path.hpp> |
| 5 | |
| 6 | int main(void) |
| 7 | { |
| 8 | std::wstring tmp; |
| 9 | std::string pathname = "/some/filesystem/path/%%%%"; |
| 10 | |
| 11 | boost::filesystem::path path(pathname); |
| 12 | |
| 13 | std::wcout << path.wstring() << std::endl; |
| 14 | |
| 15 | return 0; |
| 16 | } |
