Re: FixedSizeArray

Hi Petr,

I agree with you that zero-filling the array in the FixedSizeArray ctor is superflous. If someone violates the precondition we guarantee that the size is valid but will not guarantee that all the byes will be properly initialized.

Overloading the operators is real nice! We could use FixedSizeArrays in QMaps for example.

The docs are great too! Just did a few minor corrections. In the tests I replaced empty array with null array and removed the \note which now seems to be superfluous.

Merged in rev 122 of the official branch.

Regards,

Peter

Would you like to post a relpy?


This post is a reply to:
Re: FixedSizeArray
Hi Peter, ok, I've left only the static function with a note of it's other possible usage. I've also added more operators (,>=,[]) and updated docs/tests. I can't think of anything (more...)

No follow-ups yet.