template<class Tp>
struct zypp::functor::GetFirst< Tp >
Strore the 1st result found in the variable passed to the ctor.
PoolItem result;
invokeOnEach( pool.byIdentBegin(installed), pool.byIdentEnd(installed),
filter::SameItem( installed ),
GetFirst< Tp > getFirst(Tp &result_r)
Convenience function for creating GetFirst.
int invokeOnEach(TIterator begin_r, TIterator end_r, TFilter filter_r, TFunction fnc_r)
Iterate through [begin_r,end_r) and invoke fnc_r on each item that passes filter_r.
Definition at line 207 of file Functional.h.