forked from boostorg/assert
Update documentation
This commit is contained in:
@@ -46,6 +46,9 @@ This is true regardless of whether `NDEBUG` is defined.
|
|||||||
```
|
```
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
|
||||||
|
BOOST_NORETURN
|
||||||
|
#endif
|
||||||
void assertion_failed(char const * expr, char const * function,
|
void assertion_failed(char const * expr, char const * function,
|
||||||
char const * file, long line);
|
char const * file, long line);
|
||||||
}
|
}
|
||||||
@@ -87,6 +90,9 @@ This is true regardless of whether `NDEBUG` is defined.
|
|||||||
```
|
```
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
|
||||||
|
BOOST_NORETURN
|
||||||
|
#endif
|
||||||
void assertion_failed_msg(char const * expr, char const * msg,
|
void assertion_failed_msg(char const * expr, char const * msg,
|
||||||
char const * function, char const * file, long line);
|
char const * function, char const * file, long line);
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,11 @@ http://www.boost.org/LICENSE_1_0.txt
|
|||||||
:toc-title:
|
:toc-title:
|
||||||
:idprefix:
|
:idprefix:
|
||||||
|
|
||||||
|
## Changes in 1.88.0
|
||||||
|
|
||||||
|
* When `BOOST_ASSERT_HANDLER_IS_NORETURN` is defined, `boost::assertion_failed`
|
||||||
|
and `boost::assertion_failed_msg` are declared as `BOOST_NORETURN`.
|
||||||
|
|
||||||
## Changes in 1.79.0
|
## Changes in 1.79.0
|
||||||
|
|
||||||
* `source_location().file_name()` and `source_location().function_name()`
|
* `source_location().file_name()` and `source_location().function_name()`
|
||||||
|
Reference in New Issue
Block a user