27 typedef gdb::string_view::size_type csize_type;
28 gdb::string_view::size_type pos;
29 csize_type npos = gdb::string_view::npos;
32 pos = x.find_last_not_of(
'X');
34 pos = x.find_last_not_of(
"XYZ");
37 gdb::string_view y(
"a");
38 pos = y.find_last_not_of(
'X');
40 pos = y.find_last_not_of(
'a');
42 pos = y.find_last_not_of(
"XYZ");
44 pos = y.find_last_not_of(
"a");
47 gdb::string_view
z(
"ab");
48 pos =
z.find_last_not_of(
'X');
50 pos =
z.find_last_not_of(
"XYZ");
52 pos =
z.find_last_not_of(
'b');
54 pos =
z.find_last_not_of(
"Xb");
56 pos =
z.find_last_not_of(
"Xa");