mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Add 'Introduced in Catch 2.4.2.' text
This commit is contained in:
parent
e998d152cc
commit
49cd7c96b4
@ -59,6 +59,8 @@ TEST_CASE( "SUCCEED showcase" ) {
|
|||||||
|
|
||||||
* `STATIC_REQUIRE`
|
* `STATIC_REQUIRE`
|
||||||
|
|
||||||
|
> [Introduced](https://github.com/catchorg/Catch2/issues/1362) in Catch 2.4.2.
|
||||||
|
|
||||||
`STATIC_REQUIRE( expr )` is a macro that can be used the same way as a
|
`STATIC_REQUIRE( expr )` is a macro that can be used the same way as a
|
||||||
`static_assert`, but also registers the success with Catch2, so it is
|
`static_assert`, but also registers the success with Catch2, so it is
|
||||||
reported as a success at runtime. The whole check can also be deferred
|
reported as a success at runtime. The whole check can also be deferred
|
||||||
|
Loading…
Reference in New Issue
Block a user