Y
Hacker News
new
|
ask
|
show
|
jobs
by
nly
4663 days ago
Afaik the usual practice when you want to hammer to the type system in to the dirt is to reinterpret_cast a pointer to FROM to a pointer to TO, and then dereference it. Alternatively just do a memcpy()