How much of an increase in size do inline functions cause?
问题 I have recently started making a C++ Wrapper of GTK+ (Nothing special, just wrapping everything into C++ classes for easy development, to be used in-house) and to cause minimum performance bloat to the already slow Gtk+ I used inline functions almost everywhere. Take a look at a few class functions... class Widget : public Object { public: // A few sample functions. gwidget is the internal GTK+ widget. void Show(void) { gtk_widget_show(GTK_WIDGET(gwidget)); } void ShowNow(void) { gtk_widget