I've found this answer about static inline functions in C headers, but I'm curious why would anyone add static inline functions in C++ headers.
Isn't inline enough to handle eventual linker errors when the compiler doesn't inline the function?
Does static do any harm in this case, like generating a definition in each cpp file that includes that header?