On 5 January 2012 03:34, Iain Buclaw <[email protected]> wrote: > Regardless, there is little reason to want to use a forced inline with > gdc. Just like in c++ when you define all methods in the class > definition, gdc considers all methods as candidates for inlining. > Similarly, when -inline is passed, the same is also done for normal > functions that are considered inlinable by the frontend. These > functions marked as inline are treated in the same way as a function > declared 'inline' in C or C++, and will be treated as such by the > backend. >
How is this possible, when all functions are virtual, without whole program optimisation?
