BALL 1.5.0
Loading...
Searching...
No Matches
DATATYPE/forEach.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_DATATYPE_FOREACH_H
6#define BALL_DATATYPE_FOREACH_H
7
8#ifndef BALL_COMMON_H
9# include <BALL/common.h>
10#endif
29#define BALL_FOREACH(container, element_iterator) \
30for (element_iterator = container.begin(); \
31 !element_iterator.isEnd(); \
32 ++element_iterator)
33
34#endif // BALL_DATATYPE_FOREACH_H