From Jason Turner

[specialized.algorithms]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmppvzhqx85/{from.md → to.md} +11 -12
tmp/tmppvzhqx85/{from.md → to.md} RENAMED
@@ -1,19 +1,18 @@
1
  ### Specialized algorithms <a id="specialized.algorithms">[[specialized.algorithms]]</a>
2
 
3
- All the iterators that are used as formal template parameters in the
4
- following algorithms are required to have their `operator*` return an
5
- object for which `operator&` is defined and returns a pointer to `T`. In
6
- the algorithm `uninitialized_copy`, the formal template parameter
7
- `InputIterator` is required to satisfy the requirements of an input
8
- iterator ([[input.iterators]]). In all of the following algorithms, the
9
- formal template parameter `ForwardIterator` is required to satisfy the
10
- requirements of a forward iterator ([[forward.iterators]]), and is
11
- required to have the property that no exceptions are thrown from
12
- increment, assignment, comparison, or dereference of valid iterators. In
13
- the following algorithms, if an exception is thrown there are no
14
- effects.
15
 
16
  #### `addressof` <a id="specialized.addressof">[[specialized.addressof]]</a>
17
 
18
  ``` cpp
19
  template <class T> T* addressof(T& r) noexcept;
 
1
  ### Specialized algorithms <a id="specialized.algorithms">[[specialized.algorithms]]</a>
2
 
3
+ All the iterators that are used as template parameters in the following
4
+ algorithms are required to have their `operator*` return an object for
5
+ which `operator&` is defined and returns a pointer to `T`. In the
6
+ algorithm `uninitialized_copy`, the template parameter `InputIterator`
7
+ is required to satisfy the requirements of an input iterator (
8
+ [[input.iterators]]). In all of the following algorithms, the template
9
+ parameter `ForwardIterator` is required to satisfy the requirements of a
10
+ forward iterator ([[forward.iterators]]), and is required to have the
11
+ property that no exceptions are thrown from increment, assignment,
12
+ comparison, or indirection through valid iterators. In the following
13
+ algorithms, if an exception is thrown there are no effects.
 
14
 
15
  #### `addressof` <a id="specialized.addressof">[[specialized.addressof]]</a>
16
 
17
  ``` cpp
18
  template <class T> T* addressof(T& r) noexcept;