ZeroCM / zcm

Zero Communications and Marshalling
http://zerocm.github.io/zcm/
GNU Lesser General Public License v2.1
233 stars 67 forks source link

Add a zcmgen option for C++ to make all static sized arrays into std::array #453

Closed olsoni closed 9 months ago

olsoni commented 9 months ago

This would be of most benefit to types that have static arrays nested within dynamic arrays, which are currently generated as a vector within a vector.

Using std::array would require at least C++11, so this should be an option, but not the default behavior.