Douglas Gregor wrote:
>
> Destructors aren't found by name lookup, so the IdentifierResolver 
> never needs to see them. Same thing with conversion functions and 
> constructors.

gcc compiles:

class C : public B {
  void m() {
    this->~B();
  }
};

Is this incorrect code ?

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to