c/cpp · by Nihili0@programming.dev · 3yC++17’s Useful Features for Embedded Systems https://interrupt.memfault.com/blog/cpp-17-for-embeddedArticle by Çağlayan Dökme 12 points · 1 comments · view on lemmy.world
1 Comments
phirus@feddit.de · 1 pts · 3y
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.