LibRapid / librapid

A highly optimised C++ library for mathematical applications and neural networks.
http://librapid.rtfd.io
MIT License
164 stars 10 forks source link

Assertions, Warnings and Errors should be functions #254

Closed Pencilcaseman closed 1 year ago

Pencilcaseman commented 1 year ago

The LIBRAPID_ASSERT macro and similar should be refactored into functions. The macros can still exist but should expand to function calls.

This has many benefits, including: