static local variables of an inline function in C++ are guaranteed to exist as if being a single global variable, if my understanding is correct.
Does the same apply if the inline function is a template, where the compiler can generate multiple versions of the function?
inlinevariable in multiple libraries (or a templateinlinevariable in multiple translation units). There is no standardized linking.inlinevariable proposal was accepted to be included in the next standard?inlineapply to each such function instance. Is that is what you are asking about?