On Fri, Dec 10, 2021 at 09:35:50AM -0700, Martin Sebor via Gcc-patches wrote: > The above was just a quick proof of concept experiment. You're > of course right that the final solution can't be so crude(*). > But if the required functions are always_inline (I think member > functions defined in the body of the class implicitly are
They are not, and can't be, nothing says that such member functions can't use constructs that make it uninlinable (with always_inline that would be an error), or are way too large that inlining is not desirable, etc. They are just implicitly inline. Jakub