Skip to content

Commit c7290ce

Browse files
committed
Update cppref links
1 parent b3c7ef0 commit c7290ce

12 files changed

Lines changed: 84 additions & 84 deletions

content/decltype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ execute: true
66

77
`decltype(expr)` yields the type of its operand expression **without evaluating it**.
88
For an identifier or class member access, it gives the declared type.
9-
For other expressions, it produces the type including [value category](https://cppreference.com/w/cpp/language/value_category.html): lvalue expressions
9+
For other expressions, it produces the type including [value category](https://cppreference.com/cpp/language/value_category): lvalue expressions
1010
yield a reference type, xvalues yield an rvalue reference, and prvalues yield the non-reference type.
1111

1212
## Why It Matters

content/guaranteed-copy-elision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ execute: true
44

55
## What It Does
66

7-
In C++17 and newer, returning a [prvalue](https://cppreference.com/w/cpp/language/value_category.html) of the same type as the function return type,
7+
In C++17 and newer, returning a [prvalue](https://cppreference.com/cpp/language/value_category) of the same type as the function return type,
88
or initializing an object from a prvalue, is guaranteed to construct the object directly in its destination.
99
No copy or move constructor is called or required to exist.
1010

content/range-for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ execute: true
77
`for (auto& x : container)` iterates over all elements of a range.
88
The compiler expands it to a begin/end iterator loop.
99
It works with arrays, standard containers, and any type that provides `begin()` and `end()`
10-
member functions or free functions found via [ADL](https://cppreference.com/w/cpp/language/adl.html).
10+
member functions or free functions found via [ADL](https://cppreference.com/cpp/language/adl).
1111

1212
## Why It Matters
1313

content/span-at.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## What It Does
22

3-
`std::span` now has an [`at()`](https://cppreference.com/w/cpp/container/span/at.html) member function that performs bounds checking.
3+
`std::span` now has an [`at()`](https://cppreference.com/cpp/container/span/at) member function that performs bounds checking.
44
It returns a reference to the element at the given index, or throws `std::out_of_range`
55
if the index is out of bounds. The function is `constexpr` and has constant time complexity.
66

features_c23.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ features:
2525
- GCC 10
2626
- Clang 9
2727
- Xcode 11.4
28-
- desc: "[Attributes](https://cppreference.com/w/c/language/attributes.html)"
28+
- desc: "[Attributes](https://cppreference.com/c/language/attributes)"
2929
paper:
3030
- N2335
3131
- N2554
@@ -45,13 +45,13 @@ features:
4545
- GCC 10
4646
- Clang 9
4747
- Xcode 11.4
48-
- desc: "[u8 character constants](https://cppreference.com/w/c/language/character_constant.html)"
48+
- desc: "[u8 character constants](https://cppreference.com/c/language/character_constant)"
4949
paper: N2418
5050
support:
5151
- GCC 10
5252
- Clang 15
5353
- Xcode 15
54-
- desc: "Removal of [function definitions](https://cppreference.com/w/c/language/function_definition.html) without prototype"
54+
- desc: "Removal of [function definitions](https://cppreference.com/c/language/function_definition) without prototype"
5555
paper: N2432
5656
support:
5757
- GCC 10
@@ -69,7 +69,7 @@ features:
6969
- GCC 11
7070
- Clang 11
7171
- Xcode 13
72-
- desc: "[Labels](https://cppreference.com/w/c/language/statements.html#Labels) before declarations and end of blocks"
72+
- desc: "[Labels](https://cppreference.com/c/language/statements#Labels) before declarations and end of blocks"
7373
paper: N2508
7474
support:
7575
- GCC 11
@@ -80,7 +80,7 @@ features:
8080
hints:
8181
- target: Clang 16
8282
msg: "Only labels at the end of a block are supported"
83-
- desc: "[Binary integer constants](https://cppreference.com/w/c/language/integer_constant.html)"
83+
- desc: "[Binary integer constants](https://cppreference.com/c/language/integer_constant)"
8484
paper: N2549
8585
content: c-binary-literals.md
8686
support:
@@ -102,7 +102,7 @@ features:
102102
msg: "Supported as an extension."
103103
- target: Xcode 7
104104
msg: "Supported as an extension."
105-
- desc: "[__has_c_attribute](https://cppreference.com/w/c/language/attributes.html#Attribute_testing) in preprocessor conditionals"
105+
- desc: "[__has_c_attribute](https://cppreference.com/c/language/attributes#Attribute_testing) in preprocessor conditionals"
106106
paper: N2553
107107
support:
108108
- GCC 11
@@ -144,15 +144,15 @@ features:
144144
hints:
145145
- target: MSVC 14.0
146146
msg: "Supported as an extension."
147-
- desc: "[`#elifdef` and `#elifndef`](https://cppreference.com/w/c/preprocessor/conditional.html)"
147+
- desc: "[`#elifdef` and `#elifndef`](https://cppreference.com/c/preprocessor/conditional)"
148148
paper: N2645
149149
content: c-elifdef.md
150150
support:
151151
- GCC 12
152152
- Clang 13
153153
- MSVC 14.40
154154
- Xcode 13.3
155-
- desc: "Type change of [u8 string literals](https://cppreference.com/w/c/language/string_literal.html) to `char8_t[]`"
155+
- desc: "Type change of [u8 string literals](https://cppreference.com/c/language/string_literal) to `char8_t[]`"
156156
paper: N2653
157157
support:
158158
- GCC 13
@@ -214,13 +214,13 @@ features:
214214
- GCC 13
215215
- Clang 15
216216
- Xcode 16.1
217-
- desc: "Removal of [function declarations](https://cppreference.com/w/c/language/function_declaration.html) without prototype"
217+
- desc: "Removal of [function declarations](https://cppreference.com/c/language/function_declaration) without prototype"
218218
paper: N2841
219219
support:
220220
- GCC 13
221221
- Clang 15
222222
- Xcode 16.1
223-
- desc: "[Empty initializers](https://cppreference.com/w/c/language/initialization.html#Empty_initialization)"
223+
- desc: "[Empty initializers](https://cppreference.com/c/language/initialization#Empty_initialization)"
224224
paper: N2900
225225
content: c-empty-init.md
226226
support:
@@ -269,7 +269,7 @@ features:
269269
content: c-unreachable.md
270270
support:
271271
- GCC 15
272-
- desc: "Relax requirements for [variadic parameter list](https://cppreference.com/w/c/language/variadic.html)"
272+
- desc: "Relax requirements for [variadic parameter list](https://cppreference.com/c/language/variadic)"
273273
paper: N2975
274274
support:
275275
- GCC 13

features_c99.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
features:
3-
- desc: "Universal-character-names in [identifiers](https://cppreference.com/w/c/language/identifiers.html)"
3+
- desc: "Universal-character-names in [identifiers](https://cppreference.com/c/language/identifiers)"
44
support:
55
- GCC 3.1
66
- Clang
77
- MSVC
88
- Xcode
9-
- desc: "Increased [translation limits](https://cppreference.com/w/c/language/identifiers.html#Translation_limits)"
9+
- desc: "Increased [translation limits](https://cppreference.com/c/language/identifiers#Translation_limits)"
1010
paper: N590
1111
support:
1212
- GCC
@@ -39,7 +39,7 @@ features:
3939
msg: "Requires /std:c11 or later."
4040
- target: owcc
4141
msg: "`parsed with -zastd=c99 (for wcc*), but does not change the code."
42-
- desc: "Enhanced [arithmetic types](https://cppreference.com/w/c/language/arithmetic_types.html)"
42+
- desc: "Enhanced [arithmetic types](https://cppreference.com/c/language/arithmetic_types)"
4343
paper:
4444
- N815
4545
- N601
@@ -60,15 +60,15 @@ features:
6060
- Xcode
6161
- owcc
6262
- TinyCC
63-
- desc: "[Variable-length array](https://cppreference.com/w/c/language/array.html#Variable-length_arrays) (VLA) types"
63+
- desc: "[Variable-length array](https://cppreference.com/c/language/array#Variable-length_arrays) (VLA) types"
6464
paper: N683
6565
content: c-vla.md
6666
support:
6767
- GCC
6868
- Clang
6969
- Xcode 14
7070
- TinyCC
71-
- desc: "[Variably-modified](https://cppreference.com/w/c/language/array.html#Variable-length_arrays) (VM) types"
71+
- desc: "[Variably-modified](https://cppreference.com/c/language/array#Variable-length_arrays) (VM) types"
7272
paper: N683
7373
content: c-vm-types.md
7474
support:
@@ -106,7 +106,7 @@ features:
106106
- Xcode
107107
- owcc
108108
- TinyCC
109-
- desc: "Hexadecimal [floating constants](https://cppreference.com/w/c/language/floating_constant.html)"
109+
- desc: "Hexadecimal [floating constants](https://cppreference.com/c/language/floating_constant)"
110110
paper: N308
111111
content: c-hex-float.md
112112
support:
@@ -116,7 +116,7 @@ features:
116116
- Xcode
117117
- owcc
118118
- TinyCC
119-
- desc: "[Compound literals](https://cppreference.com/w/c/language/compound_literal.html)"
119+
- desc: "[Compound literals](https://cppreference.com/c/language/compound_literal)"
120120
paper: N716
121121
content: c-compound-literals.md
122122
support:
@@ -135,7 +135,7 @@ features:
135135
- GCC
136136
- Clang
137137
- Xcode
138-
- desc: "Implicit `return 0;` in the [`main()` function](https://cppreference.com/w/c/language/main_function.html)"
138+
- desc: "Implicit `return 0;` in the [`main()` function](https://cppreference.com/c/language/main_function)"
139139
support:
140140
- GCC
141141
- Clang
@@ -185,7 +185,7 @@ features:
185185
- GCC 3.1
186186
- Clang
187187
- Xcode
188-
- desc: "[Variadic macros](https://cppreference.com/w/c/preprocessor/replace.html)"
188+
- desc: "[Variadic macros](https://cppreference.com/c/preprocessor/replace)"
189189
paper: N707
190190
content: c-variadic-macros.md
191191
support:

0 commit comments

Comments
 (0)