Poll: Does your project use terminating assertions in production?

I’m running this poll to gather data, both for myself and for other interested C++ committee members. I’m curious to see what you all report!

Please let us know what your current project is doing, and thank you for participating. The poll will close on Friday night.

\"Production\/release builds\" means the builds you and your users actually run for real, not test builds.
\"Terminate if they fail\" means the program aborts when some assertion fails (e.g., assert without NDEBUG). You might log the failure first, but the program does not continue running.","answers":[{"text":"ALWAYS: All my assertions terminate the program if they fail","answerId":"a6a03b14-0e15-4982-b442-481b09f3cfb4"},{"text":"SOMETIMES: Some of my assertions terminate, others don't (e.g., lower-severity checks, newly added checks)","answerId":"4f841bd2-230d-4b7d-8f59-38abb0d477fe"},{"text":"CHECK, BUT NEVER TERMINATE: My assertions are evaluated, but failures are only logged or counted","answerId":"ddb1e028-28de-4113-9171-820d00953bc5"},{"text":"IGNORE: My assertions are disabled entirely (e.g., NDEBUG set)","answerId":"873d58c2-2d0e-494f-92b2-484054fe9022"},{"text":"NO ASSERTIONS: My project doesn't use assertions","answerId":"73ae4e91-fa22-4d3c-b035-fa41cf715fef"},{"text":"I don't know","answerId":"77dd3cb8-f3b6-45cc-9e14-dacfa0800832"}],"borderRadius":12,"hasOneResponsePerComputer":true,"pollStatus":"closed-after","closedAfterDateTime":"2025-10-18T06:59:00.000Z","className":"is-style-default","isMultipleChoice":false,"submitButtonLabel":"Submit","confirmMessageType":"results","borderWidth":2,"hasBoxShadow":false,"randomizeAnswers":false,"width":100,"closedPollState":"show-results","hideBranding":false,"buttonAlignment":"list","apiPollData":{"id":16140640,"question":"In your current project's production\/release builds, do any of your own code's assertions cause the program to terminate if they fail?","note":"\"Your own code's assertions\" means assert(condition) or any similar in-house check you write in your code (not third-party\/system libraries), where \"condition\" is something your own program code guarantees should always be true. If it's ever false, that's a programming bug (not a run-time error like bad user input).
\"Production\/release builds\" means the builds you and your users actually run for real, not test builds.
\"Terminate if they fail\" means the program aborts when some assertion fails (e.g., assert without NDEBUG). You might log the failure first, but the program does not continue running.","settings":{"title":"Does your current project check all assertions in production with termination semantics?","after_vote":"results","after_message":"","randomize_answers":false,"restrict_vote_repeat":true,"captcha":false,"multiple_choice":false,"redirect_url":"","close_status":"closed-after","close_after":false},"answers":[{"answer_text":"ALWAYS: All my assertions terminate the program if they fail","id":70985562,"client_id":"a6a03b14-0e15-4982-b442-481b09f3cfb4"},{"answer_text":"SOMETIMES: Some of my assertions terminate, others don't (e.g., lower-severity checks, newly added checks)","id":70985569,"client_id":"4f841bd2-230d-4b7d-8f59-38abb0d477fe"},{"answer_text":"CHECK, BUT NEVER TERMINATE: My assertions are evaluated, but failures are only logged or counted","id":70985583,"client_id":"ddb1e028-28de-4113-9171-820d00953bc5"},{"answer_text":"IGNORE: My assertions are disabled entirely (e.g., NDEBUG set)","id":70985593,"client_id":"873d58c2-2d0e-494f-92b2-484054fe9022"},{"answer_text":"NO ASSERTIONS: My project doesn't use assertions","id":70985661,"client_id":"73ae4e91-fa22-4d3c-b035-fa41cf715fef"},{"answer_text":"I don't know","id":71014636,"client_id":"77dd3cb8-f3b6-45cc-9e14-dacfa0800832"}],"source_link":"https:\/\/herbsutter.wordpress.com","client_id":"b349f118-876f-48cd-8c8c-e48f04fd9478"}}">
 •  0 comments  •  flag
Share on Twitter
Published on October 13, 2025 13:46
No comments have been added yet.


Herb Sutter's Blog

Herb Sutter
Herb Sutter isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Herb Sutter's blog with rss.