this repo has no description

Update README with more info

+8 -1
+8 -1
README.md
··· 1 1 # [DCHECK](https://github.com/tekknolagi/dcheck) 2 2 3 - This very small assert library provides assert-like macros for checking 3 + This very small assert library provides `asser`t-like macros for checking 4 4 conditions at runtime. 5 5 6 6 Improvements over raw `assert`: 7 7 8 + * Semantic checks for indices, bounds, ranges, unimplemented features, and 9 + unreachable states 8 10 * Includes `printf`-compatible error message formatting 9 11 * `NDEBUG` and always-on variants 10 12 * Bounds/index checking built-in ··· 18 20 19 21 int main() { 20 22 // ... 23 + 24 + CHECK(true, "thank goodness"); 21 25 22 26 int arr[3]; 23 27 // Array index won't crash ··· 44 48 // ... 45 49 } 46 50 ``` 51 + 52 + Add `D` before `CHECK`, `CHECK_INDEX`, `CHECK_BOUND`, and `CHECK_RANGE` if you 53 + want the check to go away in `NDEBUG` mode. Like `DCHECK_INDEX` and so forth. 47 54 48 55 Happy hacking.