From Jason Turner

[string.substr]

Diff to HTML by rtfpessoa

tmp/tmph0aej9jj/{from.md → to.md} RENAMED
@@ -1,9 +1,9 @@
1
  ##### `basic_string::substr` <a id="string.substr">[[string.substr]]</a>
2
 
3
  ``` cpp
4
- basic_string substr(size_type pos = 0, size_type n = npos) const;
5
  ```
6
 
7
  *Throws:* `out_of_range` if `pos > size()`.
8
 
9
  *Effects:* Determines the effective length `rlen` of the string to copy
 
1
  ##### `basic_string::substr` <a id="string.substr">[[string.substr]]</a>
2
 
3
  ``` cpp
4
+ constexpr basic_string substr(size_type pos = 0, size_type n = npos) const;
5
  ```
6
 
7
  *Throws:* `out_of_range` if `pos > size()`.
8
 
9
  *Effects:* Determines the effective length `rlen` of the string to copy