diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-01-09 15:32:47 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-03-12 14:14:01 +0000 |
commit | 831b84a6fd7fda254a9eeece8f27275c3cf9ff66 (patch) | |
tree | ca5c2172f478c95cb51a6a8184f19deea03da464 /tests/auto/pointeralgorithm/tst_pointeralgorithm.cpp | |
parent | f873ad54e18ea08a68aefede22305c538e10db82 (diff) | |
download | qt-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