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