3 ms·
> AVR-GCC has C++ support It's a very restricted subset of C++ that has almost no advantages over plain C, and some number of disadvantages.
by lelanthran 5y ago
> AVR-GCC has C++ support
It's a very restricted subset of C++ that has almost no advantages over plain C, and some number of disadvantages.
- pjmlp 5y ago- templates instead of macros - constexpr instead of macros - if constexpr instead of macros - stronger type checking - type inference - strong type enumerations - namespacing instead of pre-historic naming prefixes - classes as means to enforce type invariants I see some advantages.