Skip to content

Commit c9cd75e

Browse files
committed
Update documentation
1 parent a882761 commit c9cd75e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/assert.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ This is true regardless of whether `NDEBUG` is defined.
4646
```
4747
namespace 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
```
8891
namespace 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
}

doc/changes.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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()`

0 commit comments

Comments
 (0)