|
From: | Daniel Herring |
Subject: | Re: C++ Plugins and virtual destructors. |
Date: | Sun, 11 Nov 2007 16:52:08 -0500 (EST) |
On Sun, 11 Nov 2007, Ralf Wildenhues - address@hidden wrote:
* Brendon Costa wrote on Fri, Nov 09, 2007 at 03:20:27AM CET:Is using virtual destructors fine with a C++ plugin interface?Good question.
If the vtable is functioning for normal virtual functions, why wouldn't it also work for a virtual destructor? Destructors are not magic; they are merely functions that get called just before memory is released. RTTI, a common culprit in dlopen issues, doesn't get involved here.
- Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |