libzypp  17.14.0
zypp::functor::GetLast< Tp > Struct Template Reference

Strore the last result found in the variable passed to the ctor. More...

#include <Functional.h>

Public Member Functions

 GetLast (Tp &result_r)
 
bool operator() (const Tp &val_r)
 

Private Attributes

Tp * _result
 

Detailed Description

template<class Tp>
struct zypp::functor::GetLast< Tp >

Strore the last result found in the variable passed to the ctor.

Definition at line 389 of file Functional.h.

Constructor & Destructor Documentation

◆ GetLast()

template<class Tp >
zypp::functor::GetLast< Tp >::GetLast ( Tp &  result_r)
inline

Definition at line 391 of file Functional.h.

Member Function Documentation

◆ operator()()

template<class Tp >
bool zypp::functor::GetLast< Tp >::operator() ( const Tp &  val_r)
inline

Definition at line 394 of file Functional.h.

Member Data Documentation

◆ _result

template<class Tp >
Tp* zypp::functor::GetLast< Tp >::_result
private

Definition at line 398 of file Functional.h.


The documentation for this struct was generated from the following file: