but you can the second one because each lambda has a separate type, and then once you're using a no-linkage instantiation (because of the lambda) then that instantiation can only be possibly used in one place and so it's worthwhile to inline
And because it's no-linkage