| 823 | // test_overloads ------------------------------------------------------------------// |
| 824 | |
| 825 | void test_overloads() |
| 826 | { |
| 827 | std::cout << "testing overloads..." << std::endl; |
| 828 | std::string s("hello"); |
| 829 | const char a[] = "goodbye"; |
| 830 | path p1(s); |
| 831 | path p2(s.c_str()); |
| 832 | path p3(a); |
| 833 | path p4("foo"); |
| 834 | |
| 835 | std::wstring ws(L"hello"); |
| 836 | const wchar_t wa[] = L"goodbye"; |
| 837 | path wp1(ws); |
| 838 | path wp2(ws.c_str()); |
| 839 | path wp3(wa); |
| 840 | path wp4(L"foo"); |
| 841 | } |
| 842 | |
| 843 | // test_error_handling -------------------------------------------------------------// |
| 844 | |