|
|
От: |
Greg Zubankov
|
|
| Дата: | 17.05.06 09:53 | ||
| Оценка: | 6 (1) | ||
An lvalue of type “cv1 B”, where B is a class type, can be cast to type “reference to cv2 D”, where D is a
class derived (clause 10) from B, if a valid standard conversion from “pointer to D” to “pointer to B” exists
(4.10), cv2 is the same cv-qualification as, or greater cv-qualification than, cv1, and B is not a virtual base
class of D.