summaryrefslogtreecommitdiff
path: root/common.hpp
blob: deaf4ed1325b73062db0d429005e6e98dd7479f6 (plain)
1
2
3
4
5
6
7
8
9
/*
 */
#ifndef COMMON_HPP_INCLUDED
#define COMMON_HPP_INCLUDED

#define FOREACH(basetype, it, src)  for(basetype::const_iterator it = src.begin(); it != src.end(); ++ it)
#define FOREACH_M(basetype, it, src)  for(basetype::iterator it = src.begin(); it != src.end(); ++ it)

#endif