add unsafe_pointer_to_any (fixes #2458)
Merge pull request #2468 from stevengj/pointerany

RFC: add unsafe_pointer_to_any (fixes #2458)