File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ This is true regardless of whether `NDEBUG` is defined.
4646```
4747namespace boost
4848{
49+ #if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
50+ BOOST_NORETURN
51+ #endif
4952 void assertion_failed(char const * expr, char const * function,
5053 char const * file, long line);
5154}
@@ -87,6 +90,9 @@ This is true regardless of whether `NDEBUG` is defined.
8790```
8891namespace boost
8992{
93+ #if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
94+ BOOST_NORETURN
95+ #endif
9096 void assertion_failed_msg(char const * expr, char const * msg,
9197 char const * function, char const * file, long line);
9298}
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ http://www.boost.org/LICENSE_1_0.txt
1010:toc-title:
1111:idprefix:
1212
13+ ## Changes in 1.88.0
14+
15+ * When `BOOST_ASSERT_HANDLER_IS_NORETURN` is defined, `boost::assertion_failed`
16+ and `boost::assertion_failed_msg` are declared as `BOOST_NORETURN` .
17+
1318## Changes in 1.79.0
1419
1520* `source_location().file_name()` and `source_location().function_name()`
You can’t perform that action at this time.
0 commit comments