Oliver Stieber wrote:
Couldn't a macro or inline function be used, that way there wouldn't be any additional linker dependencies.
Macros and inline functions are better than a function defined in a library, but each one introduces a header dependency, so they should also be avoided where possible.
Mike