I’ll just swallow it down in a moment of panic and feel it burning its way down.
The https://hackingcpp.com/cpp/cheat_sheets.html cheat sheets for std::algorithms and containers always save me a lot of time.
I also like to use std::optional if a function may not return a result so I won’t have to return a pointer, that might be a nullptr.
And std::variant as a typesafe less hacky union.
Klingt nach MDR