28 typedef std::wstring_view::size_type csize_type;
29 csize_type npos = std::wstring_view::npos;
32 const std::wstring_view str01(
L"Bob Rock, per me");
33 const wchar_t str_lit01[] =
L"Bob Rock";
34 std::wstring_view str02(
L"ovvero Trivi");
35 std::wstring_view str03(str_lit01);
36 std::wstring_view str04;
39 csz01 = str01.find_first_not_of(str01);
41 csz01 = str01.find_first_not_of(str02, 0);
43 csz01 = str01.find_first_not_of(str02, 10);
45 csz01 = str01.find_first_not_of(str02, 12);
47 csz01 = str01.find_first_not_of(str03, 0);
49 csz01 = str01.find_first_not_of(str03, 15);
51 csz01 = str01.find_first_not_of(str03, 16);
53 csz01 = str01.find_first_not_of(str04, 0);
55 csz01 = str01.find_first_not_of(str04, 12);
57 csz01 = str03.find_first_not_of(str01, 0);
59 csz01 = str04.find_first_not_of(str02, 0);
63 csz01 = str01.find_first_not_of(str_lit01, 0, 0);
65 csz01 = str01.find_first_not_of(str_lit01, 0, 8);
67 csz01 = str01.find_first_not_of(str_lit01, 10, 0);
71 csz01 = str01.find_first_not_of(str_lit01);
73 csz01 = str02.find_first_not_of(str_lit01, 2);
77 csz01 = str01.find_first_not_of(
L'B');
79 csz01 = str01.find_first_not_of(
L'o', 1);
81 csz01 = str02.find_first_not_of(
L'z');
83 csz01 = str04.find_first_not_of(
L'S');
90 typedef std::wstring_view::size_type csize_type;
91 csize_type npos = std::wstring_view::npos;
94 const std::wstring_view str01(
L"Bob Rock, per me");
95 const wchar_t str_lit01[] =
L"Bob Rock";
96 std::wstring_view str02(
L"ovvero Trivi");
97 std::wstring_view str03(str_lit01);
98 std::wstring_view str04;
101#define VERIFY(x) if(!(x)) return false
104 csz01 = str01.find_first_not_of(str01);
106 csz01 = str01.find_first_not_of(str02, 0);
108 csz01 = str01.find_first_not_of(str02, 10);
110 csz01 = str01.find_first_not_of(str02, 12);
112 csz01 = str01.find_first_not_of(str03, 0);
114 csz01 = str01.find_first_not_of(str03, 15);
116 csz01 = str01.find_first_not_of(str03, 16);
118 csz01 = str01.find_first_not_of(str04, 0);
120 csz01 = str01.find_first_not_of(str04, 12);
122 csz01 = str03.find_first_not_of(str01, 0);
124 csz01 = str04.find_first_not_of(str02, 0);
128 csz01 = str01.find_first_not_of(str_lit01, 0, 0);
130 csz01 = str01.find_first_not_of(str_lit01, 0, 8);
132 csz01 = str01.find_first_not_of(str_lit01, 10, 0);
136 csz01 = str01.find_first_not_of(str_lit01);
138 csz01 = str02.find_first_not_of(str_lit01, 2);
142 csz01 = str01.find_first_not_of(
L'B');
144 csz01 = str01.find_first_not_of(
L'o', 1);
146 csz01 = str02.find_first_not_of(
L'z');
148 csz01 = str04.find_first_not_of(
L'S');