3 ms·
If you're putting an inline function into your header file, the size of the code for that function is part of the information provided by the interface (i.e. th
by InitialLastName 5y ago
If you're putting an inline function into your header file, the size of the code for that function is part of the information provided by the interface (i.e. the inline code is getting stored with the user). Every user has to know they're duplicating that code locally.
I agree, though, that for the most part there are probably better ways to do it (including trusting in "the compiler is a better optimizer than my wetware").