From Jason Turner

[string::assign]

Diff to HTML by rtfpessoa

tmp/tmp5basqiuj/{from.md → to.md} RENAMED
@@ -19,11 +19,11 @@ controlled by `str`. A valid implementation is `swap(str)`.
19
  *Returns:* `*this`.
20
 
21
  ``` cpp
22
  basic_string&
23
  assign(const basic_string& str, size_type pos,
24
- size_type n);
25
  ```
26
 
27
  *Requires:* `pos <= str.size()`
28
 
29
  *Throws:* `out_of_range` if `pos > str.size()`.
 
19
  *Returns:* `*this`.
20
 
21
  ``` cpp
22
  basic_string&
23
  assign(const basic_string& str, size_type pos,
24
+ size_type n = npos);
25
  ```
26
 
27
  *Requires:* `pos <= str.size()`
28
 
29
  *Throws:* `out_of_range` if `pos > str.size()`.