Given that marking a function inline is only a request to the compiler, I am wondering if some compilers may produce multiple definition errors (if the inline request is rejected) whereas other compilers may not (if the inline request is accepted)?
If so, does that make it preferable to mark the free function as static rather than inline since this will guarantee that each TU has its own copy of the function and avoid any compiler specific issues?
Thanks in advance!