[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: off-topic: need help with egcs 1.1.2 internal compiler error
From: Johannes Sixt <Johannes.Sixt () telecom ! at>
Date: 1999-05-29 20:53:47
[Download RAW message or body]
On Sat, 29 May 1999, Steffen Hansen wrote:
>On Sat, 29 May 1999, Johannes Sixt wrote:
>
>> template<class T> f(T v) { v.~T(); }
>
>Does this code make sense at all?
It results in undefined behavior. I know that. But I get the internal compiler
error also in a situation where calling the destructor explicitly actually
makes sense and does NOT result in undefined behavior.
-- Hannes
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic