From Jason Turner

[diff.cpp14.string]

Diff to HTML by rtfpessoa

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