to_pointer
This helps us avoid an unconditional nullptr check when the user's pointer type is fancy
BOOST_HAS_PRAGMA_ONCE