What is the meaning of double curly braces initializing a C-struct?
It initialises all fields of the POD structure to 0. Rationale: const SomeStruct init = {Value}; Initialises the first field of SomeStruct to Value, the rest of the structure to zero (I forget the section in the standard, but it’s there somewhere) Thus: const SomeOtherStruct init = {{Value}}; Initialises the first field of the first … Read more