tmp/tmpi_pwl9c0/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### General <a id="specialized.algorithms.general">[[specialized.algorithms.general]]</a>
|
| 2 |
+
|
| 3 |
+
The contents specified in [[specialized.algorithms]] are declared in the
|
| 4 |
+
header `<memory>`.
|
| 5 |
+
|
| 6 |
+
Unless otherwise specified, if an exception is thrown in the following
|
| 7 |
+
algorithms, objects constructed by a placement *new-expression*
|
| 8 |
+
[[expr.new]] are destroyed in an unspecified order before allowing the
|
| 9 |
+
exception to propagate.
|
| 10 |
+
|
| 11 |
+
Some algorithms specified in [[specialized.algorithms]] make use of the
|
| 12 |
+
exposition-only function `voidify`:
|
| 13 |
+
|
| 14 |
+
``` cpp
|
| 15 |
+
template<class T>
|
| 16 |
+
constexpr void* voidify(T& obj) noexcept {
|
| 17 |
+
return addressof(obj);
|
| 18 |
+
}
|
| 19 |
+
```
|
| 20 |
+
|