summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_layout.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2012-02-16 23:27:07 +0100
committerQt by Nokia <qt-info@nokia.com>2012-04-02 16:34:21 +0200
commit646dc6c5daeefa99c9af070802c39bc66dc4f1f0 (patch)
tree98d32dd8f36d4842736755235d5d3bcb0b9ff92d /doc/src/snippets/code/doc_src_layout.cpp
parente4682cc88000b52e67380b227cc42726c869afe2 (diff)
downloadqtbase-646dc6c5daeefa99c9af070802c39bc66dc4f1f0.tar.gz
Introduce QArrayDataOps::appendInitialize
Adds given number of default-initialized elements at end of array. For POD types, initialization is reduced to a single memset call. Other types get default constructed in place. As part of adding a test for the new functionality the arrayOps test was extended to verify objects are being constructed and assigned as desired. Change-Id: I9fb2afe0d92667e76993313fcd370fe129d72b90 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_layout.cpp')
0 files changed, 0 insertions, 0 deletions