Sebastian Redl wrote:
> Argiris Kirtzidis wrote:
>>
>> gcc compiles:
>>
>> class C : public B {
>> void m() {
>> this->~B();
>> }
>> };
>>
>> Is this incorrect code ?
>>
> Yes, according to 5.2.4p2: "The type designated by the
> pseudo-destructor-name shall be the same as the object type."Thanks, that's good to know. -Argiris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
