32 #ifndef __TDEPIM__KMAIL__STL_UTIL_H__ 33 #define __TDEPIM__KMAIL__STL_UTIL_H__ 38 struct DeleteAndSetToZero { 39 void operator()( const T * & t ) { delete t; t = 0; } 43 static inline void deleteAll( T & c ) { 44 for ( typename T::iterator it = c.begin() ; it != c.end() ; ++it ) { 51 template < typename Iterator, typename UnaryPredicate> 52 bool any( Iterator first, Iterator last, UnaryPredicate p ) 54 while ( first != last ) 64 #endif // __TDEPIM__KMAIL__STL_UTIL_H__
|