cleanup
removed pointer_base; limit explicit cast to const_cast; removed static&dynamic casts from ptr traits; removed useless pointer_to from ptr traits