[Bug c++/11069] C++ Standard Violation (15.3.3)

bangerth@dealii.org gcc-bugzilla@gcc.gnu.org
Mon Jun 2 22:23:00 GMT 2003


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.



More information about the Gcc-bugs mailing list