Implement (and unit test) simple QVarLengthArray::first()/last().
authorRobin Burchell <robin.burchell@collabora.com>
Wed, 14 Dec 2011 16:49:35 +0000 (17:49 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jan 2012 14:08:19 +0000 (15:08 +0100)
commitfb7404e569b5c69dd9e1c6eab3157826442872e8
tree70dc14d55cb8784145da0954ad5a82eda71c837d
parent467a000089f741dd6def17dacb7f1bcc98a9249a
Implement (and unit test) simple QVarLengthArray::first()/last().

Pure syntactical sugar, to match up with what the other container
classes offer.

Change-Id: I0f97de011923d9d204cca0fa906b059dc5054a89
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/tools/qvarlengtharray.h
src/corelib/tools/qvarlengtharray.qdoc
tests/auto/corelib/tools/qvarlengtharray/tst_qvarlengtharray.cpp