How does inline affect member functions in module interfaces?
Does that mean that, in a modules world, for the compiler to be able to optimize away function calls we have to annotate them as inline even if they are defined in-class? To some degree. Inlining is an “as if” optimization, and inlining can happen even between translation units if the compiler is clever enough. … Read more