@@ -74,18 +74,9 @@ to control the level by passing **one** of the following options to the compiler
74
74
pre-built components. Most libc++ code is header-based, so a user-provided
75
75
value for ``_LIBCPP_HARDENING_MODE `` will be mostly respected.
76
76
77
- .. warning ::
78
-
79
- Assertion semantics are currently an experimental feature.
80
-
81
- .. note ::
82
-
83
- Assertion semantics are not available in the C++03 mode.
84
-
85
77
In some cases, users might want to override the assertion semantic used by the
86
78
library. This can be done similarly to setting the hardening mode; please refer
87
- to the :ref: `relevant section <assertion-semantics >`. Note that this feature is
88
- currently experimental.
79
+ to the :ref: `relevant section <assertion-semantics >`.
89
80
90
81
Notes for vendors
91
82
-----------------
@@ -275,17 +266,9 @@ output. This is less secure and increases the size of the binary (among other
275
266
things, it has to store the error message strings) but makes the failure easier
276
267
to debug. It also allows testing the error messages in our test suite.
277
268
278
- .. warning ::
279
-
280
- Assertion semantics are currently an experimental feature.
281
-
282
- .. note ::
283
-
284
- Assertion semantics are not available in the C++03 mode.
285
-
286
- Experimentally, this default behavior can be customized by users via
287
- :ref: `assertion semantics <assertion-semantics >`; it can also be completely
288
- overridden by vendors by providing a :ref: `custom assertion failure handler
269
+ This default behavior can be customized by users via :ref: `assertion semantics
270
+ <assertion-semantics>`; it can also be completely overridden by vendors by
271
+ providing a :ref: `custom assertion failure handler
289
272
<override-assertion-handler>`.
290
273
291
274
.. _assertion-semantics :
@@ -295,11 +278,11 @@ Assertion semantics
295
278
296
279
.. warning ::
297
280
298
- Assertion semantics are currently an experimental feature.
281
+ Assertion semantics are currently an experimental feature.
299
282
300
283
.. note ::
301
284
302
- Assertion semantics are not available in the C++03 mode.
285
+ Assertion semantics are not available in the C++03 mode.
303
286
304
287
What happens when an assertion fails depends on the assertion semantic being
305
288
used. Four assertion semantics are available, based on C++26 Contracts
0 commit comments