Re[4]: Deep C++. Operation: static_cast. Перевод - Igor Sukh
От: Masterkent  
Дата: 01.04.09 12:49
Оценка:
Здравствуйте, SergioSV, Вы писали:

SSV>1. Исходя из стандарта 98-года получаем (5.2.9/10):


В настоящий момент действующим стандартом C++ является ISO/IEC 14882:2003(E) aka C++03, а стандарт 98-го года недействителен:

ISO/IEC 14882:2003(E) / Foreword

This second edition cancels and replaces the first edition (ISO/IEC 14882:1998), which has been technically revised.

В C++03 данное преобразование описывается так:

5.2.9/10

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.

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.