Andreas Kling personal blog
Catching use-after-move C++ bugs with Clang's consumed annotations
This post describes a compile-time technique for catching use-after-move bugs in modern C++. It’s currently used to prevent some mistakes in the Serenity Operating System.
- Points
- 175
- HN comments
- 188
- Submissions
- 1
- Cited by
- 3 commenters
Software EngineeringProgramming Languages2019
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 10, 2019 | Catching use-after-move C++ bugs with Clang's consumed annotations by awesomekling | 175 | 188 |
Cited in comments
Linked from 3 Hacker News comments by 3 different people, from Jan 2023 to Aug 2025.
Most recent:
- JonChesterfield · Aug 11, 2025
- MaulingMonkey · Feb 9, 2024
- bear24rw · Jan 4, 2023