SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
cbe::MatchesID< IdT > Class Template Reference

Search lists with ID. More...

#include <Utility.h>

Public Member Functions

 MatchesID (const IdT &id)
 
template<class ItemT >
bool operator() (const ItemT &item) const
 

Detailed Description

template<typename IdT>
class cbe::MatchesID< IdT >

Search lists with ID.

Example:

bool alreadyExists = std::find_if(vector.begin(), vector.end(),
cbe::MatchesID<uint64_t>(id)) != vector.end();
Search lists with ID.
Definition: Utility.h:40

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