Skip to content

Simplified the macro

Latest

Choose a tag to compare

@mich101mich mich101mich released this 31 Oct 18:01
d774477

Changed

  • Overhauled several panic messages to make them less cluttered.
    • This also removes several steps of the condition analysis, so it might be less useful overall.
      Though arguably, assert conditions shouldn't reach that level of complexity to begin with...
  • Allowed some conditions to only format their arguments on panic when it is known they won't be moved.
    • This will improve the performance in 95% of intended use cases, meaning this assert macro is now
      actually viable for production code rather than just test code.