This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: G++ PATCH: static_cast rejecting valid casts


Your patch is more general than necessary; the passage you quote only
applies to single-level pointer conversions.  Indeed, the only conversions
that static_cast can perform between two multi-level pointers are also
standard conversions.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]