Den 2015-11-18 kl. 19:23, skrev
codekiddy:
Why should it call Glib::Object::~Object()? Atk::Implementor does not inherit from Glib::Object. Interesting, but I don't understand what's the difference between Implementor::~Implementor() noexcept { } and a compiler-generated destructor. Is noexcept bad here? Gtk::Buildable::~Buildable() and many other destructors look the same. The preprocessor may replace noexcept by _NOEXCEPT because of these lines in glibmmconfig.h: #if (_MSC_VER < 1900) && !defined (noexcept) #define _ALLOW_KEYWORD_MACROS 1 #define noexcept _NOEXCEPT #endif
|