QArrayDataOps: generic array operations
authorJoão Abecasis <joao.abecasis@nokia.com>
Thu, 3 Nov 2011 11:52:26 +0000 (12:52 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 13:09:53 +0000 (14:09 +0100)
commit4da0b5fc02fe3a647d32892905c42928841d6487
treed742f15ad2f1e1e6fbceddb92e5f18496a758826
parentbd0b49efe0bf63b359fc315757a9de547d557802
QArrayDataOps: generic array operations

This class, the selector and underlying implementations provide
specialized operations on QArrayData, while allowing for optimized
implementations that benefit from type-specific information.

Currently, offering a generic implementation and specializations for
PODs (trivial ctor, dtor and move operations) and movable types (can be
trivially moved in memory).

Change-Id: I2c5829b66c2aea79f12f21debe5c01f7104c7ea3
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/tools/qarraydataops.h [new file with mode: 0644]
src/corelib/tools/tools.pri
tests/auto/corelib/tools/qarraydata/simplevector.h
tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp