replace ASSERT macro with check function in most places #1

Open
opened 2026-10-02 19:17:24 -04:00 by sleeepy · 0 comments
Owner

2iREN makes heavy use of assertions. in most cases, throwing an exception would be more suitable. also using a templated function would have better scoping bc no global namespace lol.

would just be cleaner overall and would allow asserts/panics to be reserved for core failures

2iREN makes heavy use of assertions. in most cases, throwing an exception would be more suitable. also using a templated function would have better scoping bc no global namespace lol. would just be cleaner overall and would allow asserts/panics to be reserved for core failures
sleeepy changed title from replace ASSERT macro with check function in *most* places to replace ASSERT macro with check function in most places 2026-10-03 03:27:36 -04:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sleeepy/2iREN#1
No description provided.