Nihili0@programming.devM to C++@programming.devEnglish · 1 year agoC++17’s Useful Features for Embedded Systemsinterrupt.memfault.comexternal-linkmessage-square1fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1external-linkC++17’s Useful Features for Embedded Systemsinterrupt.memfault.comNihili0@programming.devM to C++@programming.devEnglish · 1 year agomessage-square1fedilinkfile-text
minus-squarephirus@feddit.delinkfedilinkEnglisharrow-up0·1 year agoI 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.
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.