Nikos Strimpas commented on merge request !1 at AcubeSAT / Communications / Software / BCH-sandbox

Nikos Strimpas
2022-03-26T02:07:05Z

From the C++ standard (ISO/IEC 14882:2020):

9.3.3.4 Arrays

In a declaration T D where D has the form

D1 [ constant-expression_opt ] attribute-specifier-seq_opt

and the type of the contained declarator-id in the declaration T D1 is “derived-declarator-type-list T”, the type of the declarator-id in D is “derived-declarator-type-list array of N T”. The constant-expression shall be a converted constant expression of type std::size_t (7.7). Its value N specifies the array bound, i.e., the number of elements in the array; N shall be greater than zero.