Argh... can a mod please correct the thread title to C++0x?
Hi,
I need your opinion and, if any, experience here.
I have a piece of code that is supposed to be portable between avr-gcc and arm-none-eabi-gcc (for AVR Teensys and Teensy 3, respectively), and it relies on a templated array-like type that is used to store small structs, bytes or bits. I can use std::array for the first two, and std::bitset (in a template specialization) for the latter, but is there any library for AVRs that provides those and results in reasonably small/fast code?
I found the standard template library stl for avr with c streams, but has anyone tried its std::bitset?
Regards
Christoph
Hi,
I need your opinion and, if any, experience here.
I have a piece of code that is supposed to be portable between avr-gcc and arm-none-eabi-gcc (for AVR Teensys and Teensy 3, respectively), and it relies on a templated array-like type that is used to store small structs, bytes or bits. I can use std::array for the first two, and std::bitset (in a template specialization) for the latter, but is there any library for AVRs that provides those and results in reasonably small/fast code?
I found the standard template library stl for avr with c streams, but has anyone tried its std::bitset?
Regards
Christoph
Last edited: