r/cpp • • Mar 27 '26

C++26: A User-Friendly assert() macro

https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
53 Upvotes

27 comments sorted by

View all comments

Show parent comment

7

u/Olaprelikov Mar 27 '26

https://github.com/jeremy-rifkin/libassert satisfies most of those requirements.

1

u/_Noreturn Mar 28 '26

I don't have any reason to use contract assert over this what's the point of builtin worse assertions