C remains the darling of embedded programmers, but C++ garners a sizable chunk. Using C++ features judiciously can result in code that’s as efficient or more efficient than a comparable C application.
I'm trying to templatize a class, based on a list of values. The list can't be another class - template parameters need to be compile-time constants. So that leaves arrays as the option.<P>My current ...