diff options
author | Mikhail Svetkin <mikhail.svetkin@qt.io> | 2018-05-29 14:13:59 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-25 06:57:44 +0000 |
commit | d1dcc4d8cdc36520dcc6cda4ad02eca8607f7b79 (patch) | |
tree | 48a3c0814c2d2e25c9ecb937f33a150ecb54c25f /tests/auto/corelib/tools/tools.pro | |
parent | 80dea66424c4887f66f64ea1920ab460f27b78af (diff) |
corelib/tools: add qMakeArray() API
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>
Diffstat (limited to 'tests/auto/corelib/tools/tools.pro')
-rw-r--r-- | tests/auto/corelib/tools/tools.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/tools.pro b/tests/auto/corelib/tools/tools.pro index f35ed026ac..f28cf21b8b 100644 --- a/tests/auto/corelib/tools/tools.pro +++ b/tests/auto/corelib/tools/tools.pro @@ -30,6 +30,7 @@ SUBDIRS=\ qlist \ qlist_strictiterators \ qlocale \ + qmakearray \ qmap \ qmap_strictiterators \ qmargins \ |