mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 21:21:56 +00:00
This patch lets a C++ application use more of Zephyr by adding guards and changeing some constructs to the C++11 equivalent. Changes include: - Adding guards - Switching to static_assert - Switching to a template for ARRAY_SIZE as g++ doesn't have the builtin. - Re-ordering designated initialisers to match the struct field order as G++ only supports simple designated initialisers. Signed-off-by: Michael Hope <mlhx@google.com> |
||
---|---|---|
.. | ||
usb_cdc.h | ||
usb_hid.h | ||
usb_msc.h |