Skip to content

Commit 8eb4a0b

Browse files
committed
fix: move and add back ariane-flight-v88 link
`introduction.md` was missing the link completely. In `about.md`, it was defined outside of the admonition it was unsed in and therefore unavailable from within the admonition. This is fixed by moving the link definition inside.
1 parent e159209 commit 8eb4a0b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

concepts/pointers/about.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ openStarGate(dialedAddress);
6363
Pointer arithmetic in C++ can easily lead to __undefined behavior__ if not handled carefully.
6464
Undefined behavior can manifest in unexpected program outcomes, crashes, or even security vulnerabilities.
6565
One infamous example of the consequences of undefined behavior occurred in the [explosion of the Ariane 5 rocket][ariane-flight-v88] in 1996, where a software exception caused by the conversion of a 64-bit floating-point number to a 16-bit signed integer led to a catastrophic failure.
66+
67+
[ariane-flight-v88]: https://en.wikipedia.org/wiki/Ariane_flight_V88
6668
~~~~
6769
6870
## Accessing member variables
@@ -131,5 +133,4 @@ It is your responsibility to detect these cases and ensure those pointers are su
131133
In older code, you might encounter two alternatives to `nullptr`.
132134
Firstly, the literal `0` is specifically interpreted as a null value for pointers, though it's the only scenario where an integral literal can be assigned to a pointer.
133135
Secondly, the `preprocessor macro` `NULL`, inherited from C and defined in the `<cstddef>` header, is another representation of a null pointer, though its usage is less common in modern C++ code.
134-
[ariane-flight-v88]: https://en.wikipedia.org/wiki/Ariane_flight_V88
135136
~~~~

concepts/pointers/introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ openStarGate(dialedAddress);
6363
Pointer arithmetic in C++ can easily lead to __undefined behavior__ if not handled carefully.
6464
Undefined behavior can manifest in unexpected program outcomes, crashes, or even security vulnerabilities.
6565
One infamous example of the consequences of undefined behavior occurred in the [explosion of the Ariane 5 rocket][ariane-flight-v88] in 1996, where a software exception caused by the conversion of a 64-bit floating-point number to a 16-bit signed integer led to a catastrophic failure.
66+
67+
[ariane-flight-v88]: https://en.wikipedia.org/wiki/Ariane_flight_V88
6668
~~~~
6769
6870
## Accessing member variables

0 commit comments

Comments
 (0)