| 987 | // test_overloads ------------------------------------------------------------------// |
| 988 | |
| 989 | void test_overloads() |
| 990 | { |
| 991 | std::cout << "testing overloads..." << std::endl; |
| 992 | std::string sto("hello"); |
| 993 | const char a[] = "goodbye"; |
| 994 | path p1(sto); |
| 995 | path p2(sto.c_str()); |
| 996 | path p3(a); |
| 997 | path p4("foo"); |
| 998 | |
| 999 | std::wstring wsto(L"hello"); |
| 1000 | const wchar_t wa[] = L"goodbye"; |
| 1001 | path wp1(wsto); |
| 1002 | path wp2(wsto.c_str()); |
| 1003 | path wp3(wa); |
| 1004 | path wp4(L"foo"); |
| 1005 | } |
| 1006 | |
| 1007 | // test_error_handling -------------------------------------------------------------// |
| 1008 | |