stl_adds.h File Reference

#include <list>
#include <string>

Include dependency graph for stl_adds.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  std
 contains some additions to the standard template library

Defines

#define FOREACH(colltype, coll, it)   for( colltype::iterator it = (coll).begin(); it!= (coll).end(); it++)
#define FOREACHC(colltype, coll, it)   for( colltype::const_iterator it = (coll).begin(); it!= (coll).end() ; it++ )

Functions

template<typename 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)
string itos (int i)


Define Documentation

#define FOREACH ( colltype,
coll,
it   )     for( colltype::iterator it = (coll).begin(); it!= (coll).end(); it++)

#define FOREACHC ( colltype,
coll,
it   )     for( colltype::const_iterator it = (coll).begin(); it!= (coll).end() ; it++ )


Generated on Fri Oct 30 09:39:30 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.5.8