Transmute?
#1453
-
What does 'transmute' do and when it should be used? |
Beta Was this translation helpful? Give feedback.
Answered by
chenzhekl
Feb 3, 2022
Replies: 1 comment
-
I interpret it as an equivalent to the "reinterpret_cast" in C++, which tells the compiler to "reinterpret" the binary value associated with the variable, and treat it as the specified type without further check. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kelimion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I interpret it as an equivalent to the "reinterpret_cast" in C++, which tells the compiler to "reinterpret" the binary value associated with the variable, and treat it as the specified type without further check.