summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qmakearray_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanup in corelib/toolsAllan Sandfeld Jensen2020-10-211-4/+4
| | | | | Change-Id: Ibe796c398a8e5488b7203abb07aa54740744f1ab Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Remove QConditional in favor of std::conditional/std::is_unsignedMikhail Svetkin2018-09-051-2/+2
| | | | | Change-Id: I5e0b9f640eb49aa7f5afdd4f3f15e027659e78ea Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* 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>