23 Sep
2002
23 Sep
'02
11:15 a.m.
From: "Beman Dawes"
A lot of us are hoping that like a future version of the C++ standard will make delete itself behave like this.
[fail at compile time on incomplete types]
While I don't following the C++ committee's Evolution Working Group closely, I don't recall actually seeing a proposal the above. If not, maybe you should consider writing a paper.
I find the other alternative - making delete "just do the right thing" and invoke the proper destructor for incomplete types - more "interesting". :-)