Hacker News new | ask | show | jobs
by Bambo 2020 days ago
You can't implement the assertions at compile time since they are predicates evaluated at runtime. This is also why it is a performance hit on the code. I chose to use C-style macros because it is easier to debug than templates.