Utils: Add sized array
Sometimes you need a very small array which has a size and max size.
QVarLengthArray is simular but has some size and run time overhead and it
has no max size. It will instead malloc. So this array is for very small
collections under 256 values which never allocate and have only a size
overhead of a byte.
Change-Id: Ia392c750d566c4accc6077c3dc4d9d4ae501e599
Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
Showing
src/libs/utils/sizedarray.h
0 → 100644
Please register or sign in to comment