summaryrefslogtreecommitdiff
path: root/tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-01-09 15:32:47 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-03-12 14:14:01 +0000
commit831b84a6fd7fda254a9eeece8f27275c3cf9ff66 (patch)
treeca5c2172f478c95cb51a6a8184f19deea03da464 /tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp
parentf873ad54e18ea08a68aefede22305c538e10db82 (diff)
downloadqt-creator-831b84a6fd7fda254a9eeece8f27275c3cf9ff66.tar.gz
Utils: Add take
Add a new algorithmn to take the first match in a container out of the container. It takes a pointer to something and will try to match against a smart pointer stored in the container. Besides that it also accepts the usual like a predicate, member variable or member function. Change-Id: I4aabd4d43aa076a534da6488d0f9c3695ba79c09 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp')
0 files changed, 0 insertions, 0 deletions