This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: G++ PATCH: static_cast rejecting valid casts
- To: nathan at cs dot bris dot ac dot uk
- Subject: Re: G++ PATCH: static_cast rejecting valid casts
- From: Jason Merrill <jason at cygnus dot com>
- Date: 15 Dec 1999 10:58:56 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <3857CD71.60CC9696@acm.org>
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