[gtkmm] Class Glib::ValueBase (in File glib/glibmm/value.h) has non-virtu al destructor



Hi!

But the class mentioned in the subject has several child-classes:
ValueBase_Boxed
ValueBase_Object
ValueBase_Enum
ValueBase_Flags
ValueBase_String
and these classes again have child classes:
Value< Glib::RefPtr<T> >
Value<std::string>
...

It would assume that this is not correct.
(I am actually having some strange Bug, that could come from this.)
(e.g. Bug refered in http://bugzilla.gnome.org/show_bug.cgi?id=78578 could
orignate from the same problem???)

I hade sometimes the experience that a thing like that could make the GNU
compiler creating a corrupted vtable. (Actually it should just not call the
dtor of the parent class, but who knows?)

Harald Hopfes



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]