summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmakearray_p.h
Commit message (Collapse)AuthorAgeFilesLines
* corelib/tools: add qMakeArray() APIMikhail Svetkin2018-07-251-0/+179
This function can be used to create std::array without the need to explicitly provide the size of array. It also has a specialization that allow to generate sorted array at compile time. Sorted array can be beneficial for example in binary search. Change-Id: Ifc7e06e451812fce2ab94293959db5e9cc038793 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>