tmp/tmp0yayztr4/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@ The library provides the function template `declval` to simplify the
|
|
| 4 |
definition of expressions which occur as unevaluated operands (Clause
|
| 5 |
[[expr]]).
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
template <class T>
|
| 9 |
-
|
| 10 |
```
|
| 11 |
|
| 12 |
*Remarks:* If this function is odr-used ([[basic.def.odr]]), the
|
| 13 |
program is ill-formed.
|
| 14 |
|
|
|
|
| 4 |
definition of expressions which occur as unevaluated operands (Clause
|
| 5 |
[[expr]]).
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
template <class T>
|
| 9 |
+
add_rvalue_reference_t<T> declval() noexcept; // as unevaluated operand
|
| 10 |
```
|
| 11 |
|
| 12 |
*Remarks:* If this function is odr-used ([[basic.def.odr]]), the
|
| 13 |
program is ill-formed.
|
| 14 |
|