Is there a way to add or edit the message thrown by assert? I\'d like to use something like
assert(a == b, \"A must be equal to B\");
Then
assert is a macro/function combination. you can define your own macro/function, using __FILE__, __BASE_FILE__, __LINE__ etc, with your own function that takes a custom message
__FILE__
__BASE_FILE__
__LINE__