Assertion, if compiled, will abort() the program, which is maybe not the best strategy for release builds.
Additionally remove source code file specific information from the name-is-valid precondition check, otherwise the full path of source file will end up in the library; linters might warn on that.
Assertion, if compiled, will
abort()
the program, which is maybe not the best strategy for release builds.Additionally remove source code file specific information from the name-is-valid precondition check, otherwise the full path of source file will end up in the library; linters might warn on that.