pYro_65:
PeterH has pointed out the fundamentals. C++14 will allow compound literals, and are currently supported by GCC, you can use:
Though Arduino does not use C++14 - the version of GCC used is ancient, it doesn't even support C++11.
pYro_65:
PeterH has pointed out the fundamentals. C++14 will allow compound literals, and are currently supported by GCC, you can use:
Though Arduino does not use C++14 - the version of GCC used is ancient, it doesn't even support C++11.