31 #ifndef __BASE_STL_HELPERS_HH__
32 #define __BASE_STL_HELPERS_HH__
38 namespace stl_helpers {
57 : out(out),
first(true)
75 template <
template <
typename T,
typename A>
class C,
typename T,
typename A>
79 std::for_each(container.begin(), container.end(), deletePointer<T>);
84 template <
template <
typename T,
typename A>
class C,
typename T,
typename A>
86 operator<<(std::ostream& out, const C<T,A> &vec)
98 #endif // __BASE_STL_HELPERS_HH__
void deletePointer(T &ptr)
void operator()(const T &elem)
void deletePointers(C< T, A > &container)
ContainerPrint(std::ostream &out)