Classes |
struct | join< T > |
Namespaces |
namespace | std |
| contains some additions to the standard template library
|
Defines |
#define | FOREACH(colltype, coll, it) for( colltype::iterator it = (coll).begin(), __end=(coll).end(); it!= __end; it++) |
#define | FOREACHI(colltype, coll, it, index) int index=0; for( colltype::iterator it = (coll).begin(), __end=(coll).end(); it!= __end; it++, index++) |
#define | FOREACHC(colltype, coll, it) for( colltype::const_iterator it = (coll).begin(), __end=(coll).end(); it!= __end ; it++ ) |
#define | FOREACHCI(colltype, coll, it, index) int index=0;for( colltype::const_iterator it = (coll).begin(), __end=(coll).end(); it!= __end; it++, index++) |
Functions |
template<typename T > |
T | abs (T v) |
| absolute function for all types
|
template<class T , class A > |
list< T, A > & | operator+= (list< T, A > &l1, const list< T, A > &l2) |
| += operators for list (list concat)
|
template<class T , class A > |
list< T, A > & | operator+= (list< T, A > &l1, const T &v) |
| += operators for list (append)
|
template<class T , class A > |
list< T, A > | operator+ (const list< T, A > &l1, const list< T, A > &l2) |
| + operators for lists (list concat)
|
string | itos (int i) |
| integer to string with default formating
|
string | itos (int i, const char *) |
| integer to string with printf formating string
|
template<typename Col , typename T > |
bool | removeElement (Col &col, const T &elem) |