Compile time decision whether a pointer type is NULL or no

How do we check at compile time whether or not a pointer type argument is nullptr in C++?
It depends on what you're doing.
You can use the standard type trait std::is_null_pointer:
Registered users can post here. Sign in or register to post.