static_cast'd pointer value Languages

static_cast'd pointer value

In the current draft standard (and C++17), this is written about static_casting a void *:A prvalue of type “pointer to cv1 void” can be converted to a prvalue of type “pointer to cv2 T”, where T is an object type and cv2 is the same cv-qualification as, or greater cv-qualification...
Read More