Channel
C++Weekly
Topics
reinterpret_cast and undefined behaviour.
What is allowed and not allowed.
i.e. can we cast integer to pointer (e.g. for register access)? any risk doing so?
type aliasing.
Some example demonstrating what can go wrong when wrong type aliasing is done.
Length
5-10 minutes
Channel
C++Weekly
Topics
reinterpret_cast and undefined behaviour.
What is allowed and not allowed.
i.e. can we cast integer to pointer (e.g. for register access)? any risk doing so?
type aliasing.
Some example demonstrating what can go wrong when wrong type aliasing is done.
Length
5-10 minutes