Namespaces
Variants
Views
Actions

Talk:cpp/types/is pointer

From cppreference.com
"Checks whether T is a pointer to object or a pointer to function (but not a pointer to member/member function) or a cv-qualified version thereof"


This is incomplete/incorrect: T can also be a pointer to void (cv qualified). is_pointer_v<void *> is true.

For the record, a pointer to void is considered an object pointer type by the standard, even though std::is_object_v<void> is false. Clarified as requested  Done --Ybab321 (talk) 08:42, 4 April 2023 (PDT)