What happens to static variables in inline functions?
I guess you’re missing something, here. static function? Declaring a function static will make it “hidden” in its compilation unit. A name having namespace scope (3.3.6) has internal linkage if it is the name of — a variable, function or function template that is explicitly declared static; 3.5/3 – C++14 (n3797) When a name has … Read more