MCPcopy Create free account
hub / github.com/boostorg/filesystem / test_overloads

Function test_overloads

test/path_unit_test.cpp:989–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987// test_overloads ------------------------------------------------------------------//
988
989void 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

Callers 1

test_mainFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected