From Jason Turner

[stringbuf.assign]

Diff to HTML by rtfpessoa

tmp/tmphrcr_m0r/{from.md → to.md} RENAMED
@@ -14,15 +14,15 @@ would have had if it had been move constructed from `rhs`
14
  void swap(basic_stringbuf& rhs) noexcept(see below);
15
  ```
16
 
17
  *Preconditions:*
18
  `allocator_traits<Allocator>::propagate_on_container_swap::value` is
19
- `true` or `get_allocator() == s.get_allocator()` is `true`.
20
 
21
  *Effects:* Exchanges the state of `*this` and `rhs`.
22
 
23
- *Remarks:* The expression inside `noexcept` is equivalent to:
24
  `allocator_traits<Allocator>::propagate_on_container_swap::value ||`
25
  `allocator_traits<Allocator>::is_always_equal::value`.
26
 
27
  ``` cpp
28
  template<class charT, class traits, class Allocator>
 
14
  void swap(basic_stringbuf& rhs) noexcept(see below);
15
  ```
16
 
17
  *Preconditions:*
18
  `allocator_traits<Allocator>::propagate_on_container_swap::value` is
19
+ `true` or `get_allocator() == rhs.get_allocator()` is `true`.
20
 
21
  *Effects:* Exchanges the state of `*this` and `rhs`.
22
 
23
+ *Remarks:* The exception specification is equivalent to:
24
  `allocator_traits<Allocator>::propagate_on_container_swap::value ||`
25
  `allocator_traits<Allocator>::is_always_equal::value`.
26
 
27
  ``` cpp
28
  template<class charT, class traits, class Allocator>