|
|
|
|
|
by kazinator
898 days ago
|
|
C doesn't provide any reinterpretation operator, and the C++ one's name is a misnomer. Casts are conversion: a new value is produced based on an existing one. Reinterpretation requires a value to be in memory, and to be accessed using an lvalue of a different type. Most situations of this kind are undefined behavior. |
|