The Old New Thing

I'm not calling a virtual function from my constructor or destructor, but I'm still getting a __purecall error

Some time ago, I described what is for: It's to detect the cases where you call a virtual method with no implementation (a so-called pure virtual method). This can happen during object constructor or destruction, since those are times when you can validly have a partially-implemented object. Well, there's another case this can happen: If ...