Skip to content

Commit 3b350d4

Browse files
authored
Add keyword to hardening features and contracts
Signed-off-by: Cem Dervis <[email protected]>
1 parent a2859e1 commit 3b350d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features_cpp26.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ features:
6363
- name: __cpp_lib_contracts
6464
value: 202502L
6565
desc: "Library API is available. This is a separate macro to allow for mixing language (compiler) support with different standard library implementations, where this macro specifies the level of support for contracts by that standard library implementation."
66+
keywords: ["safety"]
6667
content: p2900.md
6768

6869
- desc: "Standard library hardening"
@@ -125,6 +126,7 @@ features:
125126
- name: __cpp_lib_hardened_vector
126127
desc: "Hardened `std::vector`"
127128
value: 202502L
129+
keywords: ["safety"]
128130
content: "p3471_hardening.md"
129131

130132
- desc: "Minor additions to C++26 standard library hardening"
@@ -136,6 +138,7 @@ features:
136138
hints:
137139
- target: MSVC 19.50
138140
msg: Partial support only due to the lack of Contracts. Support starting with Visual Studio 2026 18.0 Preview 2. ([GitHub Issue](https://github.com/microsoft/STL/pull/5650))
141+
keywords: ["safety"]
139142

140143
- desc: "Trivial Relocatability For C++26"
141144
paper: P2786
@@ -1630,6 +1633,7 @@ features:
16301633
- desc: "Standard library hardening should not use the 'observe' semantic"
16311634
paper: P3878
16321635
lib: true
1636+
keywords: ["safety"]
16331637

16341638
- desc: "Make `execution::when_all()` a Ronseal Algorithm"
16351639
paper: P3887

0 commit comments

Comments
 (0)