1 #define STATIC_CAST static_cast 2 3 template<typename T> 4 void foo(T *p) { 5 (void)STATIC_CAST<T*>(0); 6 } 7