This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
A dynamic_cast from derived to base is semantically equivalent to a static_cast, yes. But as Nathan says, it indicates to the reader that run-time checks are needed, even if in practice they are not. Jason
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |