From Jason Turner

[string::find.last.not.of]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp18kit_or/{from.md → to.md} +0 -42
tmp/tmp18kit_or/{from.md → to.md} RENAMED
@@ -1,42 +0,0 @@
1
- #### `basic_string::find_last_not_of` <a id="string::find.last.not.of">[[string::find.last.not.of]]</a>
2
-
3
- ``` cpp
4
- size_type
5
- find_last_not_of(const basic_string& str,
6
- size_type pos = npos) const noexcept;
7
- ```
8
-
9
- *Effects:* Determines the highest position `xpos`, if possible, such
10
- that both of the following conditions obtain:
11
-
12
- - `xpos <= pos` and `xpos < size()`;
13
- - `traits::eq(at(xpos), str.at(I))` for no element `I` of the string
14
- controlled by `str`.
15
-
16
- *Returns:* `xpos` if the function can determine such a value for `xpos`.
17
- Otherwise, returns `npos`.
18
-
19
- *Remarks:* Uses `traits::eq()`.
20
-
21
- ``` cpp
22
- size_type find_last_not_of(const charT* s, size_type pos,
23
- size_type n) const;
24
- ```
25
-
26
- *Returns:* `find_last_not_of(basic_string(s, n), pos)`.
27
-
28
- ``` cpp
29
- size_type find_last_not_of(const charT* s, size_type pos = npos) const;
30
- ```
31
-
32
- *Requires:* `s` points to an array of at least `traits::length(s) + 1`
33
- elements of `charT`.
34
-
35
- *Returns:* `find_last_not_of(basic_string(s), pos)`.
36
-
37
- ``` cpp
38
- size_type find_last_not_of(charT c, size_type pos = npos) const;
39
- ```
40
-
41
- *Returns:* `find_last_not_of(basic_string(1, c), pos)`.
42
-