Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

STLMapCleaner.hh

Go to the documentation of this file.
00001 
00020 #ifndef MANGO_STL_MAP_CONTAINER_CLEANER_H
00021 #define MANGO_STL_MAP_CONTAINER_CLEANER_H
00022 
00023 // file in order to decrease the dependencies on STL
00024 #include "CntrCleaner.hh" // general defn
00025 #include <utility> // specialization for std::pair
00026 
00027 namespace MangoPtr
00028 {          
00030     template <typename T, typename U>
00031     struct CntrCleaner<std::pair<T, U> >
00032     {
00033         typedef std::pair<T, U> Pair;
00034         static void execute(const Pair& obj) {
00035         CntrCleaner<T>::execute(obj.first);}
00036     };
00037  
00038 } // namespace
00039 
00040 #endif // MANGO_STL_MAP_CONTAINER_CLEANER_H
00041 

Generated on Tue Nov 12 20:43:53 2002 for Mango-ptr Library by doxygen1.2.18