AusweisApp2
FuncUtils.h-Dateireferenz
#include <functional>
#include <type_traits>
#include <QVector>
Include-Abhängigkeitsdiagramm für FuncUtils.h:
Dieser Graph zeigt, welche Datei direkt oder indirekt diese Datei enthält:

gehe zum Quellcode dieser Datei

Namensbereiche

 governikus
 Implementation of ActivationContext for Intent based activation on Android systems.
 

Funktionen

template<typename S , typename T >
std::enable_if<!std::is_void< T >::value, QList< T > >::type governikus::map (const std::function< T(const S &)> &pFunc, const QList< S > &pItems)
 
template<typename T >
std::enable_if<!std::is_void< T >::value, QVector< T > >::type governikus::filter (const std::function< bool(const T &)> &pFunc, const QVector< T > &pItems)