This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11069] C++ Standard Violation (15.3.3)
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 22:23:13 -0000
- Subject: [Bug c++/11069] C++ Standard Violation (15.3.3)
- References: <20030602215620.11069.afu@fugmann.dhs.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11069
bangerth@dealii.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
Summary|C++ Standard Violation |C++ Standard Violation
|(15.3.3) |(15.3.3)
------- Additional Comments From bangerth@dealii.org 2003-06-02 22:23 -------
Not a bug. 15.1.3 says:
3 A throw-expression initializes a temporary object, the type of which
is determined by removing any top-level cv-qualifiers from the static
type of the operand of throw and adjusting the type from "array of T"
or "function returning T" to "pointer to T" or "pointer to function
returning T", respectively.
Not that it is talking about the _static_ type, not the dynamic type.
Matching of exception handlers is done against this _static_ type.
W.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.