tmp/tmpye90g_76/{from.md → to.md}
RENAMED
|
@@ -50,11 +50,11 @@ value of the destination type. The null member pointer value (
|
|
| 50 |
[[conv.mem]]) is converted to the null member pointer value of the
|
| 51 |
destination type.
|
| 52 |
|
| 53 |
Depending on the type of the object, a write operation through the
|
| 54 |
pointer, lvalue or pointer to data member resulting from a `const_cast`
|
| 55 |
-
that casts away a const-qualifier[^
|
| 56 |
[[dcl.type.cv]]).
|
| 57 |
|
| 58 |
The following rules define the process known as *casting away
|
| 59 |
constness*. In these rules `Tn ` and `Xn ` represent types. For two
|
| 60 |
pointer types:
|
|
|
|
| 50 |
[[conv.mem]]) is converted to the null member pointer value of the
|
| 51 |
destination type.
|
| 52 |
|
| 53 |
Depending on the type of the object, a write operation through the
|
| 54 |
pointer, lvalue or pointer to data member resulting from a `const_cast`
|
| 55 |
+
that casts away a const-qualifier[^15] may produce undefined behavior (
|
| 56 |
[[dcl.type.cv]]).
|
| 57 |
|
| 58 |
The following rules define the process known as *casting away
|
| 59 |
constness*. In these rules `Tn ` and `Xn ` represent types. For two
|
| 60 |
pointer types:
|