1 #ifndef UtilAlgos_CollectionFilterTrait_h 2 #define UtilAlgos_CollectionFilterTrait_h 13 template<
typename C,
typename S,
typename N>
17 for(
typename C::const_iterator
i = source.begin();
i != source.end(); ++
i )
19 return sizeSelect( n );
23 template<
typename C,
typename S>
27 for(
typename C::const_iterator
i = source.begin();
i != source.end(); ++
i ) {
29 if ( sizeSelect( n ) )
return true;
35 template<
typename C,
typename N>
39 return sizeSelect( source.size() );
43 template<
typename C,
typename S,
typename N>
48 template<
typename C,
typename N>
static bool filter(const C &source, const S &, const N &sizeSelect)
CollectionFilter< C, S, N > type
static bool filter(const C &source, const S &select, const MinNumberSelector &sizeSelect)
CollectionSizeFilter< C, N > type
static bool filter(const C &source, const S &select, const N &sizeSelect)
static std::string const source