From Jason Turner

[string.view.modifiers]

Diff to HTML by rtfpessoa

tmp/tmpwhvug4x7/{from.md → to.md} RENAMED
@@ -2,21 +2,21 @@
2
 
3
  ``` cpp
4
  constexpr void remove_prefix(size_type n);
5
  ```
6
 
7
- *Preconditions:* `n <= size()`.
8
 
9
- *Effects:* Equivalent to: `data_ += n; size_ -= n;`
10
 
11
  ``` cpp
12
  constexpr void remove_suffix(size_type n);
13
  ```
14
 
15
- *Preconditions:* `n <= size()`.
16
 
17
- *Effects:* Equivalent to: `size_ -= n;`
18
 
19
  ``` cpp
20
  constexpr void swap(basic_string_view& s) noexcept;
21
  ```
22
 
 
2
 
3
  ``` cpp
4
  constexpr void remove_prefix(size_type n);
5
  ```
6
 
7
+ `n <= size()` is `true`.
8
 
9
+ *Effects:* Equivalent to: *`data_`*` += n; `*`size_`*` -= n;`
10
 
11
  ``` cpp
12
  constexpr void remove_suffix(size_type n);
13
  ```
14
 
15
+ `n <= size()` is `true`.
16
 
17
+ *Effects:* Equivalent to: *`size_`*` -= n;`
18
 
19
  ``` cpp
20
  constexpr void swap(basic_string_view& s) noexcept;
21
  ```
22