3 ms·
AFAIK nothing requires generic code to be compiled inline in C++. Heck with explicit template instantiation the generic code may not even be in the same transl
by missblit 5y ago
AFAIK nothing requires generic code to be compiled inline in C++.
Heck with explicit template instantiation the generic code may not even be in the same translation unit as the calling code. At that point it'd require link time optimization to inline it.
- im3w1l 5y agoNothing requires inline-specified code to be inlined either.