debugbreak
debugbreak copied to clipboard
Defining functions as static causes ODR violations in C++
For C++ they should be just inline
not static
, otherwise you get (probably harmless) ODR violations when calling the debug_break
function from function templates or inline functions.