Fixed variable length array to comform to ISO C++