Remix.run Logo
HexDecOctBin 2 days ago

Yeah, despite puritanical hand-wringing over C23, I do like both the discipline and the selectivity with WG14 has shows (and I say this as a card-carrying C++ hater).

I do wish they will start looking into proper arrays since there is already a syntax for this can can be augmented semantically:

    int func (int arg[static 5])
uecker a day ago | parent [-]

Can you explain what you mean exactly regarding this augmenting this syntax?

wren6991 a day ago | parent [-]

I guess they are saying sizeof(...) should return the annotated static size rather than sizeof(int*) in this case