|
|
От: | Masterkent | |
| Дата: | 01.04.09 12:49 | ||
| Оценка: | |||
В C++03 данное преобразование описывается так:This second edition cancels and replaces the first edition (ISO/IEC 14882:1998), which has been technically revised.
An rvalue of type “pointer to cv1 void” can be converted to an rvalue of type “pointer to cv2 T,” where T is an object type and cv2 is the same cv-qualification as, or greater cv-qualification than, cv1. A value of type pointer to object converted to “pointer to cv void” and back to the original pointer type will have its original value.