On 06/03/2011 04:20 AM, Jonathan Wakely wrote:
On 3 June 2011 02:55, Jason Merrill wrote:
Do we really want to warn about the case where the class has no/trivial destructor?I think so. Definitely if it's an abstract class, since it's definitely undefined behaviour. The user might have forgotten to define the destructor, so the warning would draw their attention to it.
Makes sense. Jason