00001 #ifndef __STL_ADDS_H
00002 #define __STL_ADDS_H
00003
00004 #include<list>
00005 #include<string>
00006
00007 namespace std {
00008
00009
00010 template <class T, class A>
00011 list<T,A>& operator += (list<T,A>& l1, const list<T,A>& l2)
00012 { l1.insert(l1.end(), l2.begin(), l2.end()); return l1;}
00013
00014
00015 template <class T, class A>
00016 list<T,A>& operator += (list<T,A>& l1, const T& v)
00017 { l1.push_back(v); return l1;}
00018
00019 string itos(int i);
00020
00021 }
00022
00023 #endif