From Jason Turner

[diff.cpp14.string]

Diff to HTML by rtfpessoa

tmp/tmpcxtd8l9n/{from.md → to.md} RENAMED
@@ -1,14 +1,14 @@
1
  ### [[strings]]: strings library <a id="diff.cpp14.string">[[diff.cpp14.string]]</a>
2
 
3
  **Change:** Non-const `.data()` member added. **Rationale:** The lack of
4
  a non-const `.data()` differed from the similar member of `std::vector`.
5
- This change regularizes behavior for this International Standard.
6
- **Effect on original feature:** Overloaded functions which have
7
- differing code paths for `char*` and `const char*` arguments will
8
- execute differently when called with a non-const string’s `.data()`
9
- member in this International Standard.
10
 
11
  ``` cpp
12
  int f(char *) = delete;
13
  int f(const char *);
14
  string s;
 
1
  ### [[strings]]: strings library <a id="diff.cpp14.string">[[diff.cpp14.string]]</a>
2
 
3
  **Change:** Non-const `.data()` member added. **Rationale:** The lack of
4
  a non-const `.data()` differed from the similar member of `std::vector`.
5
+ This change regularizes behavior. **Effect on original feature:**
6
+ Overloaded functions which have differing code paths for `char*` and
7
+ `const char*` arguments will execute differently when called with a
8
+ non-const string’s `.data()` member in this revision of C++. For
9
+ example:
10
 
11
  ``` cpp
12
  int f(char *) = delete;
13
  int f(const char *);
14
  string s;