Y
Hacker News
new
|
ask
|
show
|
jobs
by
xfer
2879 days ago
You can't downcast it to anything you want, it returns an Option, void pointers in C are not certainly the same, it's unsafe.
1 comments
foldr
2879 days ago
I know. That's why I said it's "a safe analogue of casting a void pointer to another type".
link