Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 11/16/2011 06:45 AM, Kohei Yoshida wrote:
I would encourage you to not do this style of implicit inlining in your
code, sure, but I wouldn't want you go wild and start editing a bunch of
headers just for the sake of it.

While we are at it: Not inlining functions can be especially beneficial for functions that are exported from a library. For example, not inlining the destructor of a class with virtual functions gives the compiler a definite place to put the vtable, so it need not be duplicated across all the libraries that derive from that class.

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.