C++17’s Useful Features for Embedded Systems

3 years ago by Nihili0 to c/cpp

In this article, you will find some features of C++17 that can also be helpful in the embedded world.

Article by Çağlayan Dökme

load all comments
phirus 1 point 3 years ago

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.

path: 0 319744, hotness: undefined, score: 1, children: 0
cpp
cpp

@programming.dev

login for more options
2381
416
44

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don't be a jerk.
  • Please keep all posts related to C++.

go to feed...