summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/tools.pri
diff options
context:
space:
mode:
authorMikhail Svetkin <mikhail.svetkin@qt.io>2018-05-29 14:13:59 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-07-25 06:57:44 +0000
commitd1dcc4d8cdc36520dcc6cda4ad02eca8607f7b79 (patch)
tree48a3c0814c2d2e25c9ecb937f33a150ecb54c25f /src/corelib/tools/tools.pri
parent80dea66424c4887f66f64ea1920ab460f27b78af (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 'src/corelib/tools/tools.pri')
-rw-r--r--src/corelib/tools/tools.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri
index 4f2d3dd4a3..7a74dfda3e 100644
--- a/src/corelib/tools/tools.pri
+++ b/src/corelib/tools/tools.pri
@@ -34,6 +34,7 @@ HEADERS += \
tools/qlocale_p.h \
tools/qlocale_tools_p.h \
tools/qlocale_data_p.h \
+ tools/qmakearray_p.h \
tools/qmap.h \
tools/qmargins.h \
tools/qmessageauthenticationcode.h \