I don't think this is a viable mechanism to check pointers. It's too slow.
I suggested to write a smart pointer. It could provide compile-time checks and whatever developer feels like.
I don't think this is a viable mechanism to check pointers. It's too slow.
I suggested to write a smart pointer. It could provide compile-time checks and whatever developer feels like.