28 typedef std::wstring_view::size_type csize_type;
29 std::wstring_view::size_type pos;
30 csize_type npos = std::wstring_view::npos;
33 pos = x.find_last_not_of(
L'X');
35 pos = x.find_last_not_of(
L"XYZ");
38 std::wstring_view y(
L"a");
39 pos = y.find_last_not_of(
L'X');
41 pos = y.find_last_not_of(
L'a');
43 pos = y.find_last_not_of(
L"XYZ");
45 pos = y.find_last_not_of(
L"a");
48 std::wstring_view
z(
L"ab");
49 pos =
z.find_last_not_of(
L'X');
51 pos =
z.find_last_not_of(
L"XYZ");
53 pos =
z.find_last_not_of(
L'b');
55 pos =
z.find_last_not_of(
L"Xb");
57 pos =
z.find_last_not_of(
L"Xa");