From Jason Turner

[string.view.access]

Diff to HTML by rtfpessoa

tmp/tmpms54gtyn/{from.md → to.md} RENAMED
@@ -16,14 +16,14 @@ of returning `charT()`. — *end note*]
16
 
17
  ``` cpp
18
  constexpr const_reference at(size_type pos) const;
19
  ```
20
 
 
 
21
  *Throws:* `out_of_range` if `pos >= size()`.
22
 
23
- *Returns:* `data_[pos]`.
24
-
25
  ``` cpp
26
  constexpr const_reference front() const;
27
  ```
28
 
29
  *Preconditions:* `!empty()`.
@@ -47,10 +47,10 @@ constexpr const_pointer data() const noexcept;
47
  ```
48
 
49
  *Returns:* `data_`.
50
 
51
  [*Note 2*: Unlike `basic_string::data()` and *string-literal*s,
52
- `data()` may return a pointer to a buffer that is not null-terminated.
53
  Therefore it is typically a mistake to pass `data()` to a function that
54
  takes just a `const charT*` and expects a null-terminated
55
  string. — *end note*]
56
 
 
16
 
17
  ``` cpp
18
  constexpr const_reference at(size_type pos) const;
19
  ```
20
 
21
+ *Returns:* `data_[pos]`.
22
+
23
  *Throws:* `out_of_range` if `pos >= size()`.
24
 
 
 
25
  ``` cpp
26
  constexpr const_reference front() const;
27
  ```
28
 
29
  *Preconditions:* `!empty()`.
 
47
  ```
48
 
49
  *Returns:* `data_`.
50
 
51
  [*Note 2*: Unlike `basic_string::data()` and *string-literal*s,
52
+ `data()` can return a pointer to a buffer that is not null-terminated.
53
  Therefore it is typically a mistake to pass `data()` to a function that
54
  takes just a `const charT*` and expects a null-terminated
55
  string. — *end note*]
56